Mercurial > hg > octave-shane > gnulib-hg
view doc/glibc-functions/initstate_r.texi @ 16277:58a55a7ffba8
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.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Thu, 12 Jan 2012 22:54:15 +0100 (2012-01-12) |
parents | da62858ef2f6 |
children | 498a2211d839 |
line wrap: on
line source
@node initstate_r @subsection @code{initstate_r} @findex initstate_r Gnulib module: random_r Portability problems fixed by Gnulib: @itemize @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: @itemize @end itemize