diff options
author | Bruno Haible <bruno@clisp.org> | 2011-04-25 19:43:59 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2011-04-25 19:43:59 +0200 |
commit | e3a7a9fd96b0ae812052466af59b55fa1c37bd98 (patch) | |
tree | a7d7736d507c47d5dfd45ba6eab9d0915f3f7e77 /doc | |
parent | 6829a6c0c428c91768aa4314752ba92b1340e11b (diff) | |
download | gnulib-e3a7a9fd96b0ae812052466af59b55fa1c37bd98.tar.gz |
strnlen: Avoid memchr related link error on old obsolete platforms.
* modules/memchr-obsolete: New file.
* m4/memchr-obsolete.m4: New file.
* m4/memchr.m4 (gl_FUNC_MEMCHR): Don't check whether memchr exists if
gl_FUNC_MEMCHR_OBSOLETE is not also defined.
* modules/memchr (Depends-on): Add memchr-obsolete.
* modules/strnlen (Depends-on): Likewise.
* doc/posix-functions/memchr.texi: Mention module memchr-obsolete.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/posix-functions/memchr.texi | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/doc/posix-functions/memchr.texi b/doc/posix-functions/memchr.texi index 3c9cfcb9d2..68a15a23f6 100644 --- a/doc/posix-functions/memchr.texi +++ b/doc/posix-functions/memchr.texi @@ -4,18 +4,21 @@ POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/memchr.html} -Gnulib module: memchr +Gnulib module: memchr or memchr-obsolete -Portability problems fixed by Gnulib: +Portability problems fixed by either Gnulib module @code{memchr} or @code{memchr-obsolete}: @itemize @item -This function is missing on some older platforms. - -@item This function dereferences too much memory on some platforms: glibc 2.10 on x86_64, IA-64; glibc 2.11 on Alpha. @end itemize +Portability problems fixed by Gnulib module @code{memchr-obsolete}: +@itemize +@item +This function is missing on some older platforms. +@end itemize + Portability problems not fixed by Gnulib: @itemize @end itemize |