delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/03/16/08:55:28

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
X-Apparently-From: <earnie?boyd AT yahoo DOT com>
Message-ID: <3AB21A26.25300132@yahoo.com>
Date: Fri, 16 Mar 2001 08:50:30 -0500
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: Earnie Boyd <cygwin AT cygwin DOT com>
X-Mailer: Mozilla 4.76 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Satoshi Imai <s-imai AT nims DOT nec DOT co DOT jp>
CC: cygwin AT cygwin DOT com
Subject: Re: 1.1.6: diff -r porting problem for Windows
References: <20010316143903E DOT s-imai AT nims DOT nec DOT co DOT jp>

Satoshi Imai wrote:
> 
> Hello.
> 
> I found a bug into the diff command.
> The diff -r doesn't ignore upper-case and lower-case of filenames.
> 
> *** diff.old/system.h   Fri Mar 16 14:11:03 2001
> --- diff.new/system.h   Fri Mar 16 13:28:13 2001
> ***************
> *** 224,230 ****
>      that are meant to be overridden by hand in config.h as needed.  */
> 
>   #ifndef filename_cmp
> ! #define filename_cmp(a, b) strcmp (a, b)
>   #endif
> 
>   #ifndef filename_lastdirchar
> --- 224,230 ----
>      that are meant to be overridden by hand in config.h as needed.  */
> 
>   #ifndef filename_cmp
> ! #define filename_cmp(a, b) stricmp (a, b)
>   #endif
> 
>   #ifndef filename_lastdirchar
> 
> ----------------
> Satoshi Imai
> 

That's not a bug!!  That's the way it works.  And, I for one want to
keep it that way.  If you wish to add a new switch, say
--ignore-filecase, that would be acceptable.

Earnie.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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