]> Savannah Git Hosting - gnulib.git/commitdiff
tsearch tests: Disable tfind signature check on Cygwin.
authorCollin Funk <collin.funk1@gmail.com>
Thu, 24 Apr 2025 03:29:25 +0000 (20:29 -0700)
committerCollin Funk <collin.funk1@gmail.com>
Thu, 24 Apr 2025 03:29:25 +0000 (20:29 -0700)
* tests/test-tsearch.c [__CYGWIN__]: Skip the tfind signature check.
* doc/posix-functions/tfind.texi: Mention the Cygwin signature.

ChangeLog
doc/posix-functions/tfind.texi
tests/test-tsearch.c

index 3ee1063908703ae7c1f52302a7705c154331e340..26d9817c5916dc2ad31fcaffabeea09e117eacce 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2025-04-23  Collin Funk  <collin.funk1@gmail.com>
+
+       tsearch tests: Disable tfind signature check on Cygwin.
+       * tests/test-tsearch.c [__CYGWIN__]: Skip the tfind signature check.
+       * doc/posix-functions/tfind.texi: Mention the Cygwin signature.
+
 2025-04-22  Collin Funk  <collin.funk1@gmail.com>
 
        random_r tests: Disable signature check on Haiku.
index 60f76605ea6adadbb7849ceb800988f24048395b..225b51f02b72f8fc2428acf700b777e9af816146 100644 (file)
@@ -16,4 +16,9 @@ Minix 3.1.8, mingw, MSVC 14, Android 4.0.4.
 
 Portability problems not fixed by Gnulib:
 @itemize
+@item
+This function uses @code{void **} instead of @code{void *const *} for
+the second parameter on some platforms:
+@c https://cygwin.com/pipermail/cygwin/2025-April/258032.html
+Cygwin.
 @end itemize
index 292ff0d3ad675e217cbf2f0630340569890ef13b..ea41505dd62b6bffdd998e51b10bcd6d60167911 100644 (file)
 #include "signature.h"
 SIGNATURE_CHECK (tdelete, void *, (void const *, void **,
                                    int (*) (void const *, void const *)));
+#if !defined __CYGWIN__
 SIGNATURE_CHECK (tfind, void *, (void const *, void * const *,
                                  int (*) (void const *, void const *)));
+#endif
 SIGNATURE_CHECK (tsearch, void *, (void const *, void **,
                                    int (*) (void const *, void const *)));
 SIGNATURE_CHECK (twalk, void, (void const *,