Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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> <20050306192655 DOT GB332 AT efn DOT org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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/