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