diff options
author | Bruno Haible <bruno@clisp.org> | 2012-01-12 22:54:15 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2012-01-12 22:54:15 +0100 |
commit | 2c0e4c5dc88b2161bd53617a02c36e87954c7b5e (patch) | |
tree | b473f7f34903fdd23fa440ac123e48c5a44b6b2a /doc/glibc-functions | |
parent | b2e2341dc7a666aa9ec733d6259d4fbab80c5e9b (diff) | |
download | gnulib-2c0e4c5dc88b2161bd53617a02c36e87954c7b5e.tar.gz |
random_r: Override incompatible API on AIX, OSF/1.
* lib/stdlib.in.h (random_r, srandom_r, initstate_r, setstate_r):
Override the system function if REPLACE_RANDOM_R is 1.
* m4/random_r.m4 (gl_FUNC_RANDOM_R): Require AC_CANONICAL_HOST. On AIX
and OSF/1, set REPLACE_RANDOM_R.
* m4/stdlib_h.m4 (gl_STDLIB_H_DEFAULTS): Initialize REPLACE_RANDOM_R.
* modules/stdlib (Makefile.am): Substitute REPLACE_RANDOM_R.
* modules/random_r (configure.ac): Test REPLACE_RANDOM_R.
* doc/glibc-functions/initstate_r.texi: Mention the AIX, OSF/1 problem.
* doc/glibc-functions/random_r.texi: Likewise.
* doc/glibc-functions/setstate_r.texi: Likewise.
Diffstat (limited to 'doc/glibc-functions')
-rw-r--r-- | doc/glibc-functions/initstate_r.texi | 3 | ||||
-rw-r--r-- | doc/glibc-functions/random_r.texi | 3 | ||||
-rw-r--r-- | doc/glibc-functions/setstate_r.texi | 3 |
3 files changed, 9 insertions, 0 deletions
diff --git a/doc/glibc-functions/initstate_r.texi b/doc/glibc-functions/initstate_r.texi index 03a90a2b7d..2ad27b5a38 100644 --- a/doc/glibc-functions/initstate_r.texi +++ b/doc/glibc-functions/initstate_r.texi @@ -9,6 +9,9 @@ Portability problems fixed by Gnulib: @item This function is missing on some platforms: MacOS X 10.5, FreeBSD 6.0, NetBSD 5.0, OpenBSD 3.8, Minix 3.1.8, HP-UX 11, IRIX 6.5, Solaris 11 2011-11, Cygwin, mingw, MSVC 9, Interix 3.5. +@item +This function has an incompatible declaration on some platforms: +AIX 7.1, OSF/1 5.1. @end itemize Portability problems not fixed by Gnulib: diff --git a/doc/glibc-functions/random_r.texi b/doc/glibc-functions/random_r.texi index ee1e692986..cdd0b5934c 100644 --- a/doc/glibc-functions/random_r.texi +++ b/doc/glibc-functions/random_r.texi @@ -9,6 +9,9 @@ Portability problems fixed by Gnulib: @item This function is missing on some platforms: MacOS X 10.5, FreeBSD 6.0, NetBSD 5.0, OpenBSD 3.8, Minix 3.1.8, HP-UX 11, IRIX 6.5, Solaris 11 2011-11, Cygwin, mingw, MSVC 9, Interix 3.5. +@item +This function has an incompatible declaration on some platforms: +AIX 7.1, OSF/1 5.1. @end itemize Portability problems not fixed by Gnulib: diff --git a/doc/glibc-functions/setstate_r.texi b/doc/glibc-functions/setstate_r.texi index c1a3a5a566..a906724723 100644 --- a/doc/glibc-functions/setstate_r.texi +++ b/doc/glibc-functions/setstate_r.texi @@ -9,6 +9,9 @@ Portability problems fixed by Gnulib: @item This function is missing on some platforms: MacOS X 10.5, FreeBSD 6.0, NetBSD 5.0, OpenBSD 3.8, Minix 3.1.8, HP-UX 11, IRIX 6.5, Solaris 11 2011-11, Cygwin, mingw, MSVC 9, Interix 3.5. +@item +This function has an incompatible declaration on some platforms: +AIX 7.1, OSF/1 5.1. @end itemize Portability problems not fixed by Gnulib: |