Re: [PATCH]: improved strnicmp in lib/string.c

From: David Newall
Date: Wed May 07 2008 - 21:14:48 EST


Soumyadip Das Mahapatra wrote:
> This is somewhat improved version of strnicmp() function in lib/string.c. I have implemented binary
> comparison rather than linear one(which was in the older version).

It doesn't correctly indicate the sort order. For example, when
comparing "accdd" against "abcde", it indicates that the first string
sorts before the second (which is wrong.)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/