delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1998/11/30/18:05:51

From: cgf AT cygnus DOT com (Christopher Faylor)
Subject: Re: strcasecmp revisited
30 Nov 1998 18:05:51 -0800 :
Message-ID: <19981130202140.B17991.cygnus.cygwin32.developers@cygnus.com>
References: <19981130132257 DOT B15656 AT cygnus DOT com>
Mime-Version: 1.0
To: DJ Delorie <dj AT delorie DOT com>, cygwin32-developers AT cygnus DOT com

On Mon, Nov 30, 1998 at 07:02:04PM -0500, DJ Delorie wrote:
>Christopher Faylor wrote:
>> That is almost what is happening now except for the tolower case.  Hmm.
>> I just checked this behavior on Linux and it appears that I was just
>> misinterpreting what was going on here.  Linux apparently does compare
>> a non-alpha character to the lowercased character.  That's all it
>> does.  So, my change was actually wrong.
>
>DJGPP compares the tolower()d characters (strcasecmp is a stub that
>chains to stricmp).  Nobody has complained yet :-)

My only concern is that some target or other may have code which
relies on the current behavior even though it is non-standard.

cgf

- Raw text -


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