Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: zsh-3.1.5-pws-11: signames2.awk



The signames2.awk script wasn't finding any signals, due to the extra
space generated by sun's cc -E (solaris 2.6, Sun WorkShop Compiler C
4.2), so I added a "*" to match extra spaces.

I noticed that /usr/lib/ccs/cpp doesn't add the extra space, but that's
not what configure chose for CPP.

-- 
Will Day     <PGP mail preferred>     OIT / O&E / Technical Support
willday@xxxxxxxxxxxxxxxxxx            Georgia Tech, Atlanta 30332-0715
  -> Opinions expressed are mine alone and do not reflect OIT policy <-
Those who would give up essential Liberty, to purchase a little temporary
Safety, deserve neither Liberty nor Safety.
    Benjamin Franklin, Pennsylvania Assembly, Nov. 11, 1755
--- zsh-3.1.5-pws-11/Src/signames2.awk.orig	Tue Feb  9 08:28:41 1999
+++ zsh-3.1.5-pws-11/Src/signames2.awk	Tue Mar  9 19:55:52 1999
@@ -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]* [1-9][0-9]*/ {
+/^XXNAMES XXSIG[A-Z][A-Z0-9]* *[1-9][0-9]*/ {
     sigindex = index($0, "SIG")
     sigtail = substr($0, sigindex, 80)
     split(sigtail, tmp)

Attachment: pgpeNKoLJSIgW.pgp
Description: PGP signature



Messages sorted by: Reverse Date, Date, Thread, Author