]> Savannah Git Hosting - gnulib.git/commitdiff
strsignal tests: Disable signature check on Haiku.
authorCollin Funk <collin.funk1@gmail.com>
Tue, 22 Apr 2025 03:35:08 +0000 (20:35 -0700)
committerBruno Haible <bruno@clisp.org>
Sat, 3 May 2025 14:05:10 +0000 (16:05 +0200)
* tests/test-strsignal.c [__HAIKU__]: Skip signature check.
* doc/posix-functions/strsignal.texi: Document that strsignal returns
'const char *' instead of 'char *' on Haiku.

ChangeLog
doc/posix-functions/strsignal.texi
tests/test-strsignal.c

index a43dad16083c2b1982c9617def1a6888bb2c5b6a..edabebed979d69ec38a0f0a213cfef36639fca89 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2025-04-21  Collin Funk  <collin.funk1@gmail.com>
+
+       strsignal tests: Disable signature check on Haiku.
+       * tests/test-strsignal.c [__HAIKU__]: Skip signature check.
+       * doc/posix-functions/strsignal.texi: Document that strsignal returns
+       'const char *' instead of 'char *' on Haiku.
+
 2025-04-21  Paul Eggert  <eggert@cs.ucla.edu>
 
        getloadavg: port to Android 3.1-
index 7127e34ad0dfa8b9b2ded510f517196c2fcb0e55..42d65440fa5d329c99a72f32e179a0875eb569bd 100644 (file)
@@ -27,5 +27,6 @@ Portability problems not fixed by Gnulib:
 @itemize
 @item This function returns @code{const char *} instead of @code{char *} on
 some platforms:
-cygwin 1.5.25.
+@c https://dev.haiku-os.org/ticket/19537
+cygwin 1.5.25, Haiku.
 @end itemize
index 4ecd7abf613f4fb478f2aa3a1461af57e2da1064..b405e678c725a4d0fd5793717233e323d49b937d 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of strsignal() function.
-   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
@@ -21,7 +21,9 @@
 #include <string.h>
 
 #include "signature.h"
+#if !defined __HAIKU__
 SIGNATURE_CHECK (strsignal, char *, (int));
+#endif
 
 #include <signal.h>