diff options
author | Bruno Haible <bruno@clisp.org> | 2018-09-15 12:04:03 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2018-09-15 12:07:55 +0200 |
commit | 8e858b1bb35cee5d228c38aa4e0a0704f3853dec (patch) | |
tree | dc646fb88c3e9ff79b94cac43b6421a38fa48810 /doc/posix-functions/strstr.texi | |
parent | 91590f875abbad089da32bc02f02cd8c4ee308e1 (diff) | |
download | gnulib-8e858b1bb35cee5d228c38aa4e0a0704f3853dec.tar.gz |
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.
Diffstat (limited to 'doc/posix-functions/strstr.texi')
-rw-r--r-- | doc/posix-functions/strstr.texi | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/posix-functions/strstr.texi b/doc/posix-functions/strstr.texi index 0863673788..ca22660163 100644 --- a/doc/posix-functions/strstr.texi +++ b/doc/posix-functions/strstr.texi @@ -16,6 +16,9 @@ glibc 2.10. This function can trigger false positives for long periodic needles on some platforms: glibc 2.12, Cygwin 1.7.7. +@item +This function may fail to find matches on some platforms: +glibc 2.28. @end itemize Portability problems fixed by Gnulib @code{strstr}: |