delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/03/06/14:38:50

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: <422B5D3D.1AFB4662@dessent.net>
Date: Sun, 06 Mar 2005 11:42:53 -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: <20050306014821 DOT 3C2D721016A AT warserver DOT warande DOT net> <Pine DOT GSO DOT 4 DOT 61 DOT 0503052147330 DOT 14305 AT slinky DOT cs DOT nyu DOT edu> <20050306192655 DOT GB332 AT efn DOT org>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019