Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <422B5D3D.1AFB4662@dessent.net>
Date: Sun, 06 Mar 2005 11:42:53 -0800
From: Brian Dessent <brian@dessent.net>
Organization: My own little world...
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Bug diff 2.8.7: Separate dir
References: <20050306014821.3C2D721016A@warserver.warande.net> <Pine.GSO.4.61.0503052147330.14305@slinky.cs.nyu.edu> <20050306192655.GB332@efn.org>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Reply-To: cygwin@cygwin.com

Yitzchak Scott-Thoennes wrote:

> This part does sound like a bug.  Perhaps this diff optimization
> should be suppressed, since in cases like this, ./a and .\a have
> effectively different content.

If anything, you would want to just add a test to the stat-comparison
code to check that both files are opened in the same mode, text/binary. 
But really all that does is let you diff a file to itself, in which case
you know the result already, that every line differs because of
different line endings.  And I don't really see that being a useful
feature.

But really this is rather irrelevent because the diffutils maintainer
(cfg) has already said he has no intention to change diff to fix
improper use of it.

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/

