httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@attglobal.net>
Subject [PATCH] to get make_exports.awk working with nawk on Solaris
Date Mon, 23 Jul 2001 12:05:38 GMT
The problem seems to be '^' in an invalid context.

I don't know if this is the "right" patch so I won't commit.  

Was the '^' supposed to be inside the character class (i.e., "([^ \t]"
instead of "^([ \t]"?

Was some other [meta]character intended where I removed the '^'?

Thanks,

Jeff

Index: build/make_exports.awk
===================================================================
RCS file: /home/cvspublic/httpd-2.0/build/make_exports.awk,v
retrieving revision 1.2
diff -u -r1.2 make_exports.awk
--- build/make_exports.awk      2001/07/21 13:33:31     1.2
+++ build/make_exports.awk      2001/07/23 12:09:05
@@ -79,7 +79,7 @@
 /^[ \t]*AP[RU]?_DECLARE[^(]*[(][^)]*[)]([^ ]* )*[^(]+[(]/ {
     sub("[ \t]*AP[RU]?_DECLARE[^(]*[(][^)]*[)][ \t]*", "")
     sub("[(].*", "")
-    sub("([^ ]* ^([ \t]*[(]))*", "")
+    sub("([^ ]* ([ \t]*[(]))*", "")
 
     add_symbol($0)
     next
-- 
Jeff Trawick | trawick@attglobal.net | PGP public key at web site:
       http://www.geocities.com/SiliconValley/Park/9289/
             Born in Roswell... married an alien...

Mime
View raw message