Mail Archives: djgpp/1996/01/17/02:24:59
Hello,
strcasecmp and strncasecmp (or stricmp and strnicmp) do not seem to
work correctly in DJGPP V2 beta3. If the two arguments are equal
strings (but with a different case) the function works correctly
(it returns 0). But otherwise the function seems to perform a
case sensitive compare instead of insensitive as it should.
This was tested with a very small testprogram:
main () { printf ("%d\n", strcasecmp (..., ...)); }
Is this a known bug?
Is this fixed in V2 beta4?
Greetings,
==============================================================================
Jorrit DOT Tyberghein AT uz DOT kuleuven DOT ac DOT be, University Hospitals KU Leuven BELGIUM
"Stuck? You're an *alien*," said Johnny. "Aliens don't get stuck in
air ducts. It's practically a well-known fact."
-- (Terry Pratchett, Only You Can Save Mankind)
==============================================================================
- Raw text -