about summary refs log tree commit diff
path: root/Src/jobs.c
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@gmail.com>2023-03-26 10:26:25 +0200
committerMikael Magnusson <mikachu@gmail.com>2023-03-28 13:00:10 +0200
commit6d40d9b63b41188cc846918e19bbf2982b9305b9 (patch)
treebfd4e272faf743e6002ad5c9b4874a636f076017 /Src/jobs.c
parent121810dba601a047f0a8b97fa1515b0704b21e06 (diff)
downloadzsh-6d40d9b63b41188cc846918e19bbf2982b9305b9.tar.gz
zsh-6d40d9b63b41188cc846918e19bbf2982b9305b9.tar.xz
zsh-6d40d9b63b41188cc846918e19bbf2982b9305b9.zip
51602: Handle SIGIOT as an alias to SIGABRT if they are the same signal number
Diffstat (limited to 'Src/jobs.c')
-rw-r--r--Src/jobs.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/Src/jobs.c b/Src/jobs.c
index 59ddd952e..15e2105eb 100644
--- a/Src/jobs.c
+++ b/Src/jobs.c
@@ -2646,6 +2646,11 @@ static const struct {
     { "IO", SIGIO },
 #endif
 #endif
+#if defined(SIGABRT) && defined(SIGIOT)
+#if SIGABRT == SIGIOT
+    { "IOT", SIGIOT },
+#endif
+#endif
 #if !defined(SIGERR)
     /*
      * If SIGERR is not defined by the operating system, use it