From: Bruno Haible Date: Tue, 14 Nov 2023 18:33:21 +0000 (+0100) Subject: doc: Mention a 'random' limitation on OpenBSD. X-Git-Tag: v1.0~588 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=268f50de3451566eeae7cd0cc15f391a09fad3ea;p=thirdparty%2Fgnulib.git doc: Mention a 'random' limitation on OpenBSD. Reported by Corinna Vinschen . * doc/posix-functions/random.texi: Mention the OpenBSD limitation. --- diff --git a/ChangeLog b/ChangeLog index c529fdc95a..245f142893 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2023-11-14 Bruno Haible + + doc: Mention a 'random' limitation on OpenBSD. + Reported by Corinna Vinschen . + * doc/posix-functions/random.texi: Mention the OpenBSD limitation. + 2023-11-14 Bruno Haible rand: Mark as obsolete. diff --git a/doc/posix-functions/random.texi b/doc/posix-functions/random.texi index 84cacbe8b5..6f003ea3b6 100644 --- a/doc/posix-functions/random.texi +++ b/doc/posix-functions/random.texi @@ -25,4 +25,8 @@ Portability problems not fixed by Gnulib: This function has a slightly incompatible declaration (the return type being @samp{int} instead of @samp{long}) on some platforms: Cygwin 1.5.25, Haiku. +@item +When @samp{srandom} was not called, this function returns a non-deterministic +sequence rather than a deterministic sequence of numbers on some platforms: +OpenBSD 7.4. @end itemize