]> Savannah Git Hosting - gnulib.git/commitdiff
doc: Mention glibc initstate, initstate_r bug.
authorBruno Haible <bruno@clisp.org>
Sun, 25 Jun 2023 15:58:57 +0000 (17:58 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 25 Jun 2023 16:01:47 +0000 (18:01 +0200)
* doc/posix-functions/initstate.texi: Mention glibc bug.
* doc/glibc-functions/initstate_r.texi: Likewise.
* tests/test-random_r.c: Add a comment.

ChangeLog
doc/glibc-functions/initstate_r.texi
doc/posix-functions/initstate.texi
tests/test-random_r.c

index ff3d6e76a48d73016dc755dd3a101ad889f1d1e6..b02d18f3d7ed758f0ce9158000dbeb20fc73db8d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+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'.
index b2bcc18cf826f983f44974c743a3983d1dbca359..9c1ea829db750ff2330555bd5ff7a206b6c787fa 100644 (file)
@@ -32,6 +32,10 @@ AIX 7.1.
 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.
index 2f7a83ca9598afebf432275b3695b2f7f2c2fc7c..a1de753e1fc1af1de094e2f9469d4bc920dc70f9 100644 (file)
@@ -19,6 +19,10 @@ Cygwin 1.5.25.
 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.
index dffa709f5e4d278e5fbd59d1c76b8f7762a88eee..0dacd360aecb2fb55f5be6338df24cc859b95e79 100644 (file)
@@ -29,6 +29,9 @@ SIGNATURE_CHECK (random_r, int, (struct random_data *, int32_t *));
 
 #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)
 {