diff libinterp/interp-core/siglist.c @ 16706:736dca8371ee

include more signals in SIG function (bug #39089) * siglist.c (init_signals): Correct SIGPHONE case to use SIGPHONE index rather than SIGWIND. Add SIGSTKFLT and SIGUNUSED cases. * sighandlers.cc (make_sig_struct): Move SIGIO to alphabetical order. Assign SIGKILL, SIGSTKFLT, and SIGUNUSED cases.
author Daniel J Sebald <daniel.sebald@ieee.org>
date Thu, 30 May 2013 14:19:59 -0400
parents 2fc554ffbc28
children
line wrap: on
line diff
--- a/libinterp/interp-core/siglist.c	Thu May 30 14:12:22 2013 -0400
+++ b/libinterp/interp-core/siglist.c	Thu May 30 14:19:59 2013 -0400
@@ -122,7 +122,7 @@
       sys_siglist[SIGMSG] = "Monitor mode data available";
 # endif
 # ifdef SIGPHONE
-      sys_siglist[SIGWIND] = "SIGPHONE";
+      sys_siglist[SIGPHONE] = "SIGPHONE";
 # endif
 # ifdef SIGPIPE
       sys_siglist[SIGPIPE] = "Broken pipe";
@@ -154,6 +154,9 @@
 # ifdef SIGSOUND
       sys_siglist[SIGSOUND] = "Sound completed";
 # endif
+# ifdef SIGSTKFLT
+      sys_siglist[SIGSTKFLT] = "Stack fault";
+# endif
 # ifdef SIGSTOP
       sys_siglist[SIGSTOP] = "Stopped (signal)";
 # endif
@@ -181,6 +184,9 @@
 # ifdef SIGTTOU
       sys_siglist[SIGTTOU] = "Stopped (tty output)";
 # endif
+# ifdef SIGUNUSED
+      sys_siglist[SIGUNUSED] = "SIGUNUSED";
+# endif
 # ifdef SIGURG
       sys_siglist[SIGURG] = "Urgent I/O condition";
 # endif