From: Jorrit DOT Tyberghein AT uz DOT kuleuven DOT ac DOT be (Jorrit Tyberghein) Subject: Bug in strcasecmp and strncasecmp in V2b3 To: djgpp AT sun DOT soe DOT clarkson DOT edu Date: Wed, 17 Jan 1996 08:19:03 +0100 (MET) 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) ==============================================================================