Hello,
Unfortunately the patch test_proc_siginfo committed for 3.3.17-6 did not remove
the line "printf("SIG %s value=%d\n", signame, siginfo->si_int);" from the
original file as the submitted patch lib_test_process.c.diff did.
Attached is an updated version of test_proc_siginfo (Here the ifdef logic is
reversed. Of course the result is the same. Additionally, indentation is
corrected to the same as the original file)
Thanks!
Description: Cater for si_int not on Hurd
Author: Svante Signell <[email protected]>
Bug-Debian: https://bugs.debian.org/987557
Reviewed-by: Craig Small <[email protected]>
Last-Update: 2021-10-13
Index: procps-3.3.17/lib/test_process.c
===================================================================
--- procps-3.3.17.orig/lib/test_process.c
+++ procps-3.3.17/lib/test_process.c
@@ -62,7 +62,11 @@ signal_handler(int signum, siginfo_t *si
printf("SIG %s\n", signame);
break;
case SI_QUEUE:
+#ifdef __GNU__
+ printf("case SI_QUEUE: SIG %s siginfo->si_int undefined\n",
signame);
+#else
printf("SIG %s value=%d\n", signame, siginfo->si_int);
+#endif
break;
default:
printf("Unknown si_code %d\n", siginfo->si_code);