]> Savannah Git Hosting - gnulib.git/commitdiff
sig2str: Add more signals.
authorBruno Haible <bruno@clisp.org>
Sat, 22 Aug 2020 22:50:41 +0000 (00:50 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 22 Aug 2020 22:51:15 +0000 (00:51 +0200)
* lib/sig2str.c (numname_table): Add SIGCPUFAIL, SIGTHR, SIGBREAK.

ChangeLog
lib/sig2str.c

index 1c79d6e47d5e680d963ef3eec510f7317cbba71f..e89966ab71b10ba6d712c71dddf219e3671493ff 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2020-08-22  Bruno Haible  <bruno@clisp.org>
+
+       sig2str: Add more signals.
+       * lib/sig2str.c (numname_table): Add SIGCPUFAIL, SIGTHR, SIGBREAK.
+
 2020-08-22  Bruno Haible  <bruno@clisp.org>
 
        doc: Update for OpenBSD 6.0, 6.7.
index 905daea2f20012323a08dfe70cf64dc399385508..cf7c3bb5c384709eec8227e5fbb3c1139366bff7 100644 (file)
@@ -189,6 +189,11 @@ static struct numname { int num; char const name[8]; } numname_table[] =
     NUMNAME (STKFLT),
 #endif
 
+    /* AIX 7.  */
+#ifdef SIGCPUFAIL
+    NUMNAME (CPUFAIL),
+#endif
+
     /* AIX 5L.  */
 #ifdef SIGDANGER
     NUMNAME (DANGER),
@@ -229,7 +234,12 @@ static struct numname { int num; char const name[8]; } numname_table[] =
     NUMNAME (WINDOW),   /* Older name for SIGWINCH.  */
 #endif
 
-    /* BeOS */
+    /* OpenBSD.  */
+#ifdef SIGTHR
+    NUMNAME (THR),
+#endif
+
+    /* BeOS, Haiku */
 #ifdef SIGKILLTHR
     NUMNAME (KILLTHR),
 #endif
@@ -239,6 +249,11 @@ static struct numname { int num; char const name[8]; } numname_table[] =
     NUMNAME (DIL),
 #endif
 
+    /* native Windows */
+#ifdef SIGBREAK
+    NUMNAME (BREAK),
+#endif
+
     /* Korn shell and Bash, of uncertain vintage.  */
     { 0, "EXIT" }
   };