File: 013-fix_thread_create.patch

package info (click to toggle)
libpreludedb 5.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 9,216 kB
  • sloc: ansic: 29,652; cpp: 16,567; sh: 12,736; sql: 1,436; python: 449; makefile: 291; yacc: 227; lex: 106; xml: 36
file content (16 lines) | stat: -rw-r--r-- 675 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Fix libmissing thread create test
Author: Thomas Andrejak <thomas.andrejak@gmail.com>
Last-Update: 2019-10-11
Forwarded: https://www.prelude-siem.org/issues/975

--- a/libmissing/tests/test-thread_create.c	2019-09-17 19:29:40.129501083 -0400
+++ b/libmissing/tests/test-thread_create.c	2019-10-11 17:32:48.182372602 -0400
@@ -68,7 +68,7 @@
   else
     {
 #if USE_POSIX_THREADS || USE_SOLARIS_THREADS || USE_PTH_THREADS || USE_WINDOWS_THREADS
-      fputs ("glthread_create failed\n", stderr);
+      fprintf (stderr, "glthread_create failed with errno %d\n", errno);
       return 1;
 #else
       fputs ("Skipping test: multithreading not enabled\n", stderr);