annotate doc/posix-functions/strsignal.texi @ 11628:59047bad770e

strstr, strcasestr: replace on platforms with broken memchr * modules/strstr: Split into... * modules/strstr-simple: ...new module that does not care about performance, but does care about glibc bug. * m4/strstr.m4 (gl_FUNC_STRSTR): Split... (gl_FUNC_STRSTR_SIMPLE): ...into new macro, which replaces strstr if platform memchr is broken, per Debian bug 521737. * m4/strcasestr.m4 (gl_FUNC_STRCASESTR_SIMPLE): React to broken memchr. * m4/memchr.m4 (gl_FUNC_MEMCHR): Only expand once. * doc/posix-functions/strstr.texi (strstr): Document the fix. * doc/glibc-functions/strcasestr.texi (strcasestr): Likewise. * modules/mountlist (Depends-on): Add strstr-simple. * modules/gen-uni-tables (Depends-on): Likewise. * modules/argz (Depends-on): Add strstr. Signed-off-by: Eric Blake <ebb9@byu.net>
author Eric Blake <ebb9@byu.net>
date Tue, 16 Jun 2009 06:14:05 -0600
parents fb8d0f8624e2
children ae139af6ca5c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10879
fb8d0f8624e2 Move documentation for glibc functions that are now in POSIX.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1 @node strsignal
fb8d0f8624e2 Move documentation for glibc functions that are now in POSIX.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
2 @section @code{strsignal}
fb8d0f8624e2 Move documentation for glibc functions that are now in POSIX.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
3 @findex strsignal
fb8d0f8624e2 Move documentation for glibc functions that are now in POSIX.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
4
fb8d0f8624e2 Move documentation for glibc functions that are now in POSIX.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
5 POSIX specification: @url{http://www.opengroup.org/onlinepubs/9699919799/functions/strsignal.html}
fb8d0f8624e2 Move documentation for glibc functions that are now in POSIX.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
6
fb8d0f8624e2 Move documentation for glibc functions that are now in POSIX.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
7 Gnulib module: strsignal
fb8d0f8624e2 Move documentation for glibc functions that are now in POSIX.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
8
fb8d0f8624e2 Move documentation for glibc functions that are now in POSIX.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
9 Portability problems fixed by Gnulib:
fb8d0f8624e2 Move documentation for glibc functions that are now in POSIX.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
10 @itemize
fb8d0f8624e2 Move documentation for glibc functions that are now in POSIX.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
11 @item
fb8d0f8624e2 Move documentation for glibc functions that are now in POSIX.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
12 This function is missing on some platforms:
fb8d0f8624e2 Move documentation for glibc functions that are now in POSIX.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
13 AIX 4.3.2, HP-UX 11, IRIX 6.5, OSF/1 5.1, mingw.
fb8d0f8624e2 Move documentation for glibc functions that are now in POSIX.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
14
fb8d0f8624e2 Move documentation for glibc functions that are now in POSIX.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
15 @item
fb8d0f8624e2 Move documentation for glibc functions that are now in POSIX.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
16 This function does not return a string for out-of-range numbers on
fb8d0f8624e2 Move documentation for glibc functions that are now in POSIX.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
17 some platforms:
fb8d0f8624e2 Move documentation for glibc functions that are now in POSIX.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
18 Solaris, AIX 5.1.
fb8d0f8624e2 Move documentation for glibc functions that are now in POSIX.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
19 @end itemize
fb8d0f8624e2 Move documentation for glibc functions that are now in POSIX.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
20
fb8d0f8624e2 Move documentation for glibc functions that are now in POSIX.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
21 Portability problems not fixed by Gnulib:
fb8d0f8624e2 Move documentation for glibc functions that are now in POSIX.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
22 @itemize
fb8d0f8624e2 Move documentation for glibc functions that are now in POSIX.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
23 This function returns @code{const char *} instead of @code{char *} on
fb8d0f8624e2 Move documentation for glibc functions that are now in POSIX.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
24 some platforms:
fb8d0f8624e2 Move documentation for glibc functions that are now in POSIX.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
25 cygwin 1.5.25.
fb8d0f8624e2 Move documentation for glibc functions that are now in POSIX.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
26 @end itemize