[Webkit-unassigned] [Bug 28901] strnstr in wtf/StringExtras.h

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 1 23:46:19 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=28901





--- Comment #2 from Alexey Proskuryakov <ap at webkit.org>  2009-09-01 23:46:18 PDT ---
(From update of attachment 38912)
> +    return NULL;

Should be 0, not NULL.

Is this new code, or did you take it from somewhere? The implementation in
<http://www.opensource.apple.com/source/Libc/Libc-583/string/FreeBSD/strnstr.c>
looks quite different, but I do not know if any of the differences are
practical.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list