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
..
2008-12-23 22:50:39 +00:00
2009-04-27 22:39:43 +00:00
2009-03-22 01:24:32 +00:00
2009-03-24 22:35:05 +00:00
2009-04-05 18:30:24 +00:00