Message-Id: Comments: Authenticated sender is From: "Salvador Eduardo Tropea (SET)" Organization: INTI To: DJ Delorie , djgpp-workers AT delorie DOT com Date: Mon, 15 Feb 1999 11:24:54 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT 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 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