summaryrefslogtreecommitdiff
path: root/src/string/strstr.c
AgeCommit message (Collapse)AuthorLines
2014-04-18fix false negatives with periodic needles in strstr, wcsstr, and memmemRich Felker-1/+1
in cases where the memorized match range from the right factor exceeded the length of the left factor, it was wrongly treated as a mismatch rather than a match. issue reported by Yves Bastide.
2013-12-12include cleanups: remove unused headers and add feature test macrosSzabolcs Nagy-1/+0
2012-08-11remove unused but buggy code from strstr.cRich Felker-10/+0
2011-03-25fix all implicit conversion between signed/unsigned pointersRich Felker-5/+5
sadly the C language does not specify any such implicit conversion, so this is not a matter of just fixing warnings (as gcc treats it) but actual errors. i would like to revisit a number of these changes and possibly revise the types used to reduce the number of casts required.
2011-02-12initial check-in, version 0.5.0v0.5.0Rich Felker-0/+166