* doc/posix-functions/initstate.texi: Mention glibc bug.
* doc/glibc-functions/initstate_r.texi: Likewise.
* tests/test-random_r.c: Add a comment.
+2023-06-25 Bruno Haible <bruno@clisp.org>
+
+ doc: Mention glibc initstate, initstate_r bug.
+ * doc/posix-functions/initstate.texi: Mention glibc bug.
+ * doc/glibc-functions/initstate_r.texi: Likewise.
+ * tests/test-random_r.c: Add a comment.
+
2023-06-25 Bruno Haible <bruno@clisp.org>
doc: Update doc regarding 'setstate'.
Portability problems not fixed by Gnulib:
@itemize
@item
+This function crashes if the state buffer is unaligned on on some platforms:
+@c https://sourceware.org/bugzilla/show_bug.cgi?id=30584
+glibc 2.36/sparc.
+@item
This function has a slightly different (but compatible) declaration on some
platforms:
Haiku 2017.
Portability problems not fixed by Gnulib:
@itemize
@item
+This function crashes if the state buffer is unaligned on on some platforms:
+@c https://sourceware.org/bugzilla/show_bug.cgi?id=30584
+glibc 2.36/sparc.
+@item
The first parameter is @code{unsigned long} instead of @code{unsigned int} on
some platforms:
MidnightBSD 2.0.
#include "macros.h"
+/* Note: This test crashes on glibc/SPARC systems.
+ Reported at <https://sourceware.org/bugzilla/show_bug.cgi?id=30584>. */
+
static int
test_failed (int alignment)
{