delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Message-ID: | <422985FC.85D8AFE4@dessent.net> |
Date: | Sat, 05 Mar 2005 02:12:12 -0800 |
From: | Brian Dessent <brian AT dessent DOT net> |
Organization: | My own little world... |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Bug diff 2.8.7: Separate dir |
References: | <1110016059 DOT JPMCYAFVMHSL AT spammotel DOT com> |
X-IsSubscribed: | yes |
Reply-To: | cygwin AT cygwin DOT com |
JPMCYAFVMHSL AT spammotel DOT com wrote: > Have attached a cygcheck, though I am afraid it's rather large. As suspected, you have textmode mounts -- see Igor's response which was spot on. To summarize, using '\' as a path seperator bypasses all of Cygwin's processing since it signals a native windows path/filename. So if you have textmode mounts and files with \r\n line endings, and only one argument has a '\', then that file will not go through Cygwin's line ending translation while the other will, and thus diff thinks every line differs. The solution is to use "--strip-trailing-cr" or alternatively, either use a '\' in both arguments or not at all. "It's Not A Bug It's A Feature(tm)" Brian -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |