]> granicus.if.org Git - apache/commitdiff
tweak make_exports.awk so it works with nawk on Solaris
authorJeff Trawick <trawick@apache.org>
Mon, 23 Jul 2001 12:40:40 +0000 (12:40 +0000)
committerJeff Trawick <trawick@apache.org>
Mon, 23 Jul 2001 12:40:40 +0000 (12:40 +0000)
Submitted by: Sander Striker

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89653 13f79535-47bb-0310-9956-ffa450edef68

build/make_exports.awk

index 5115301894e3dadf8fc284ff78286b0f45c72d16..b50768125d677909eef380d28d8c55d4d7dff5fc 100644 (file)
@@ -79,7 +79,7 @@ function add_symbol(symbol) {
 /^[ \t]*AP[RU]?_DECLARE[^(]*[(][^)]*[)]([^ ]* )*[^(]+[(]/ {
     sub("[ \t]*AP[RU]?_DECLARE[^(]*[(][^)]*[)][ \t]*", "")
     sub("[(].*", "")
-    sub("([^ ]* ^([ \t]*[(]))*", "")
+    sub("([^ ]* (^([ \t]*[(])))+", "")
 
     add_symbol($0)
     next