summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2004-11-19 09:57:22 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2004-11-19 09:57:22 +0000
commite022a9814a12080d938984ede6fc6ef5f6133ef7 (patch)
treef7915261b9b479fdaefdba53bd6389d988884f95
parent7daa6320b4e670197e92270de8f2b470ac0593fc (diff)
downloadzsh-e022a9814a12080d938984ede6fc6ef5f6133ef7.tar.gz
zsh-e022a9814a12080d938984ede6fc6ef5f6133ef7.tar.xz
zsh-e022a9814a12080d938984ede6fc6ef5f6133ef7.zip
20566++: prefer SIGCHLD to SIGCLD and SIGPOLL to SIGIO
-rw-r--r--ChangeLog5
-rw-r--r--Src/signames2.awk2
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index c44375bfb..555bec1c5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-11-19  Peter Stephenson  <pws@csr.com>
+
+	* 20566: Src/signames2.awk: prefer SIGCHLD to SIGCLD.
+	Also (unposted) prefer SIGPOLL to SIGIO.
+
 2004-11-18  Clint Adams  <clint@zsh.org>
 
 	* unposted: Completion/Unix/Command/_bogofilter: fix -w/-p typo, which was
diff --git a/Src/signames2.awk b/Src/signames2.awk
index b38d1034f..4d15681d5 100644
--- a/Src/signames2.awk
+++ b/Src/signames2.awk
@@ -12,6 +12,8 @@
     split(sigtail, tmp)
     signam = substr(tmp[1], 4, 20)
     signum = tmp[2]
+    if (signam == "CHLD" && sig[signum] == "CLD")  sig[signum] = ""
+    if (signam == "POLL" && sig[signum] == "IO")  sig[signum] = ""
     if (sig[signum] == "") {
 	sig[signum] = signam
 	if (0 + max < 0 + signum && signum < 60)