doc: Mention a 'random' limitation on OpenBSD.
authorBruno Haible <bruno@clisp.org>
Tue, 14 Nov 2023 18:33:21 +0000 (19:33 +0100)
committerBruno Haible <bruno@clisp.org>
Tue, 14 Nov 2023 18:33:21 +0000 (19:33 +0100)
Reported by Corinna Vinschen <vinschen@redhat.com>.

* doc/posix-functions/random.texi: Mention the OpenBSD limitation.

ChangeLog
doc/posix-functions/random.texi

index c529fdc95a2541c640d9a34958087ec8f317bb53..245f1428936ce2b3b77606bb5eab3305f2b209d3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2023-11-14  Bruno Haible  <bruno@clisp.org>
+
+       doc: Mention a 'random' limitation on OpenBSD.
+       Reported by Corinna Vinschen <vinschen@redhat.com>.
+       * doc/posix-functions/random.texi: Mention the OpenBSD limitation.
+
 2023-11-14  Bruno Haible  <bruno@clisp.org>
 
        rand: Mark as obsolete.
index 84cacbe8b5e41c4f6edf0f00500078a286b5a6ba..6f003ea3b6649371ceefa1d2150e76d0bc20074d 100644 (file)
@@ -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