]> Savannah Git Hosting - gnulib.git/commitdiff
random_r tests: Disable signature check on Haiku.
authorCollin Funk <collin.funk1@gmail.com>
Wed, 23 Apr 2025 01:46:08 +0000 (18:46 -0700)
committerBruno Haible <bruno@clisp.org>
Sat, 3 May 2025 14:05:53 +0000 (16:05 +0200)
* tests/test-random_r.c [__HAIKU__]: Skip initstate_r and setstate_r
signature check.
* doc/glibc-functions/initstate_r.texi: Remove year.
* doc/glibc-functions/setstate_r.texi: Likewise.

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

index edabebed979d69ec38a0f0a213cfef36639fca89..10925dd95b9093bbf6b844bb97597b41e2cc8a2b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2025-04-22  Collin Funk  <collin.funk1@gmail.com>
+
+       random_r tests: Disable signature check on Haiku.
+       * tests/test-random_r.c [__HAIKU__]: Skip initstate_r and setstate_r
+       signature check.
+       * doc/glibc-functions/initstate_r.texi: Remove year.
+       * doc/glibc-functions/setstate_r.texi: Likewise.
+
 2025-04-21  Collin Funk  <collin.funk1@gmail.com>
 
        strsignal tests: Disable signature check on Haiku.
index 5b463fa49fc89f3f9a996a7c41b1e68dc9e62285..2ae467bce421bd02e72a429f32012ee2c42346cb 100644 (file)
@@ -38,5 +38,5 @@ glibc 2.36/sparc.
 @item
 This function has a slightly different (but compatible) declaration on some
 platforms:
-Haiku 2017.
+Haiku.
 @end itemize
index bc711a342eaa3c5e2769021fb61b4047b82113c6..ec01f5d3a4c88ec67f407d4b9b10e998365ca9a5 100644 (file)
@@ -34,5 +34,5 @@ Portability problems not fixed by Gnulib:
 @item
 This function has a slightly different (but compatible) declaration on some
 platforms:
-Haiku 2017.
+Haiku.
 @end itemize
index 99b7478ba3ef60e27815be1bf4e1282df85cf4c4..1c0ffdac5f866c8adcd028d027ebe0bc676d41b8 100644 (file)
@@ -1,5 +1,5 @@
 /* Test random_r.
-   Copyright (C) 2008-2024 Free Software Foundation, Inc.
+   Copyright (C) 2008-2025 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
 
 #include "signature.h"
 SIGNATURE_CHECK (srandom_r, int, (unsigned int, struct random_data *));
+#if !defined __HAIKU__
 SIGNATURE_CHECK (initstate_r, int, (unsigned int, char *, size_t,
                                     struct random_data *));
 SIGNATURE_CHECK (setstate_r, int, (char *, struct random_data *));
+#endif
 SIGNATURE_CHECK (random_r, int, (struct random_data *, int32_t *));
 
 #include <time.h>