sorry, my mistake --- strncasesmp() is case insensitive....Monday morning fault :D

regards,
bogdan

Juha Heinanen wrote:

Bogdan-Andrei Iancu writes:

> indeed, the search through the cache is done case sensitive via > strncasesmp().

i don't get it.  manual says:

      The  strcasecmp() function compares the two strings s1 and s2, ignoring
      the case of the characters.  It returns an integer less than, equal to,
      or  greater than zero if s1 is found, respectively, to be less than, to
      match, or be greater than s2.

      The strncasecmp() function is similar,  except  it  only  compares  the
      first n characters of s1.

-- juha


_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users

Reply via email to