strstr, strcasestr: Add workaround against glibc-2.28 bug.
commit8e858b1bb35cee5d228c38aa4e0a0704f3853dec
authorBruno Haible <bruno@clisp.org>
Sat, 15 Sep 2018 10:04:03 +0000 (15 12:04 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 15 Sep 2018 10:07:55 +0000 (15 12:07 +0200)
treedc646fb88c3e9ff79b94cac43b6421a38fa48810
parent91590f875abbad089da32bc02f02cd8c4ee308e1
strstr, strcasestr: Add workaround against glibc-2.28 bug.

Reported by Michael Brunnbauer via Siddhesh Poyarekar and Eric Blake.

* m4/strstr.m4 (gl_FUNC_STRSTR_SIMPLE): Set
gl_cv_func_strstr_works_always to 'no' on glibc 2.28.
* m4/strcasestr.m4 (gl_FUNC_STRCASESTR_SIMPLE): Set
gl_cv_func_strcasestr_works_always to 'no' on glibc 2.28.
* doc/posix-functions/strstr.texi: Document the glibc 2.28 bug.
* doc/glibc-functions/strcasestr.texi: Likewise.
ChangeLog
doc/glibc-functions/strcasestr.texi
doc/posix-functions/strstr.texi
m4/strcasestr.m4
m4/strstr.m4