summaryrefslogtreecommitdiff
path: root/src/string/strcasestr.c
AgeCommit message (Collapse)Author
2025-05-16fix strcasestr failing to find zero-length needleRich Felker
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
2011-02-12initial check-in, version 0.5.0v0.5.0Rich Felker