From 268f50de3451566eeae7cd0cc15f391a09fad3ea Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Tue, 14 Nov 2023 19:33:21 +0100 Subject: [PATCH] doc: Mention a 'random' limitation on OpenBSD. Reported by Corinna Vinschen . * doc/posix-functions/random.texi: Mention the OpenBSD limitation. --- ChangeLog | 6 ++++++ doc/posix-functions/random.texi | 4 ++++ 2 files changed, 10 insertions(+) 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 -- 2.39.5