about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2004-03-12 09:58:48 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2004-03-12 09:58:48 +0000
commitfc5d8fcb37e499ee0506d5b999d2c39fd370296b (patch)
treed6a8e946d1fd18d06a90d16058921fe50368d39b
parent05f58bbb179add8562536285f8fb9a0e3904735e (diff)
downloadzsh-fc5d8fcb37e499ee0506d5b999d2c39fd370296b.tar.gz
zsh-fc5d8fcb37e499ee0506d5b999d2c39fd370296b.tar.xz
zsh-fc5d8fcb37e499ee0506d5b999d2c39fd370296b.zip
19602: cope with output from the preprocessor on HP/UX, Itanium II
-rw-r--r--ChangeLog5
-rw-r--r--Src/signames2.awk2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index d8071cf8e..26321ecd7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-03-12  Oliver Kiddle  <opk@zsh.org>
+
+	* 19602: Src/signames2.awk: adjust to cope with output from the
+	preprocessor on HP/UX, Itanium II, fixing signals problems
+
 2004-03-11  Clint Adams  <clint@zsh.org>
 
 	* 19605: Completion/Unix/Command/_mtr: completion for Matt's
diff --git a/Src/signames2.awk b/Src/signames2.awk
index 81b1ab3a2..b38d1034f 100644
--- a/Src/signames2.awk
+++ b/Src/signames2.awk
@@ -6,7 +6,7 @@
 # NB: On SunOS 4.1.3 - user-functions don't work properly, also \" problems
 # Without 0 + hacks some nawks compare numbers as strings
 #
-/^XXNAMES XXSIG[A-Z][A-Z0-9]*[\t ][\t ]*[1-9][0-9]*/ {
+/^[\t ]*XXNAMES XXSIG[A-Z][A-Z0-9]*[\t ][\t ]*[1-9][0-9]*/ {
     sigindex = index($0, "SIG")
     sigtail = substr($0, sigindex, 80)
     split(sigtail, tmp)