delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/02/15/09:17:16

Message-Id: <m10COp7-000S5tC@inti.gov.ar>
Comments: Authenticated sender is <salvador AT natacha DOT inti DOT gov DOT ar>
From: "Salvador Eduardo Tropea (SET)" <salvador AT inti DOT gov DOT ar>
Organization: INTI
To: DJ Delorie <dj AT delorie DOT com>, djgpp-workers AT delorie DOT com
Date: Mon, 15 Feb 1999 11:24:54 +0000
MIME-Version: 1.0
Subject: Re: ctype functions
In-reply-to: <199902122120.QAA21593@envy.delorie.com>
References: <199902122054 DOT PAA16714 AT delorie DOT com> (message from Robert Hoehne on Fri, 12 Feb 1999 21:55:17 +0100)
X-mailer: Pegasus Mail for Windows (v2.54)
Reply-To: djgpp-workers AT delorie DOT com

DJ Delorie <dj AT delorie DOT com> wrote:
 
> We should fix our files in these cases, they're clearly wrong.
> 
> > int
> > stricmp(const char *s1, const char *s2)
> > {
> >   while (tolower(*s1) == tolower(*s2))

Additionally a simple test shows that toupper/lower doesn't work for ASCII 
values over 127 (I tried eacute and uuml). Is that only in my v2.01 of libc?
Is because the lack of locale stuff?

SET 
------------------------------------ 0 --------------------------------
Visit my home page: http://welcome.to/SetSoft
or
http://www.geocities.com/SiliconValley/Vista/6552/
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org
ICQ: 2951574
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(541) 759 0013

- Raw text -


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