Re: memchr() fails to handle corner case where size=1

Content by khorben on 26/02/2011 17:05:17
I have applied your patch (src/string.c 1.35), simply changing the while loop into a for, with ls++ as post-condition.
Thanks a lot!