summaryrefslogtreecommitdiff
path: root/src/string/strcasestr.c
AgeCommit message (Collapse)AuthorLines
2025-05-16fix strcasestr failing to find zero-length needleRich Felker-0/+1
the loop condition ending on end-of-haystack ends before a zero-length needle can be matched, so just explicitly check it before the loop.
2013-02-21replace stub with working strcasestrRich Felker-2/+4
2011-02-12initial check-in, version 0.5.0v0.5.0Rich Felker-0/+7