diff doc/posix-functions/memchr.texi @ 40135:f03dfb30b48c

memchr: Work around bug on Android <= 5.0. * m4/memchr.m4 (gl_FUNC_MEMCHR): Add test against the Android bug. * doc/posix-functions/memchr.texi: Mention the Android bug.
author Bruno Haible <bruno@clisp.org>
date Fri, 25 Jan 2019 03:54:09 +0100
parents 2683cd2b0569
children
line wrap: on
line diff
--- a/doc/posix-functions/memchr.texi	Fri Jan 25 01:36:26 2019 +0100
+++ b/doc/posix-functions/memchr.texi	Fri Jan 25 03:54:09 2019 +0100
@@ -11,6 +11,10 @@
 @item
 This function dereferences too much memory on some platforms:
 glibc 2.10 on x86_64, IA-64; glibc 2.11 on Alpha.
+@item
+This function returns NULL if the character argument is not in the range
+of an @code{unsigned char} on some platforms:
+Android 5.0.
 @end itemize
 
 Portability problems fixed by Gnulib module @code{memchr-obsolete}: