[uClibc]uClibc : strcasecmp() behaviour incorrect

Michal Kochanowicz michal at michal.waw.pl
Tue Feb 12 12:58:21 UTC 2002


On Tue, Feb 12, 2002 at 12:38:14PM +0000, Brian Stafford wrote:
> int
> strcasecmp (const char *a, const char *b)
> {
>   register int n;
> 
>   while (*a == *b || (n = tolower (*a) - tolower (*b)) == 0)
           ^^^^^^^^^^^^
Is this really necesery?
-- 
--= Michal Kochanowicz==--==--==BOFH==--==--==michal at michal.waw.pl =--
--= finger me for PGP public key or visit http://michal.waw.pl/PGP =--
--==--==--==--==--==-- Vodka. Connecting people.--==--==--==--==--==--
A chodzenie po górach SSIE!!!



More information about the uClibc mailing list