summary refs log tree commit diff
diff options
context:
space:
mode:
-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)