]> git.ipfire.org Git - thirdparty/gnulib.git/commitdiff
spawn-pipe tests: Fix link error with non-optimizing compilers.
authorBruno Haible <bruno@clisp.org>
Sun, 10 May 2026 12:21:01 +0000 (14:21 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 10 May 2026 12:21:01 +0000 (14:21 +0200)
* tests/test-spawn-pipe-child.c (print_stack_trace): Define to empty.

ChangeLog
tests/test-spawn-pipe-child.c

index a162917acb7545ba8333344d269d2133cb8f74f4..4c6139e80fc3edc06e9f086ddeba492d0a8f3804 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2026-05-10  Bruno Haible  <bruno@clisp.org>
+
+       spawn-pipe tests: Fix link error with non-optimizing compilers.
+       * tests/test-spawn-pipe-child.c (print_stack_trace): Define to empty.
+
 2026-05-10  Bruno Haible  <bruno@clisp.org>
 
        calloc-gnu tests: Skip expensive part on Solaris.
index 50803483999bbca75aa867a2ae1250d7be49a455..cf4b27655c3cd209a009cd5a7f59087cff307382 100644 (file)
@@ -38,6 +38,8 @@
 #define BACKUP_STDERR_FILENO 10
 #define ASSERT_STREAM myerr
 #undef CONTINUE_AFTER_ASSERT
+#undef print_stack_trace
+#define print_stack_trace() /* nothing */
 #include "macros.h"
 
 static FILE *myerr;