Olivier Houchard 8957464be7 Change the test at the beginning of strncmp(), from being if (len - 1) < 0
to if (len == 0).
The length is supposed to be unsigned, so len - 1 < 0 won't happen except
if len == 0 anyway, and it would return 0 when it shouldn't, if len was
> INT_MAX.

Spotted out by:	Channa <channa kad gmail com>
2009-04-28 19:20:13 +00:00
..
2007-06-03 17:20:27 +00:00
2009-03-25 12:36:37 +00:00
2009-04-26 10:12:20 +00:00
2009-02-02 21:51:52 +00:00
2008-03-26 07:32:08 +00:00