From: Jeff Trawick Date: Mon, 23 Jul 2001 12:40:40 +0000 (+0000) Subject: tweak make_exports.awk so it works with nawk on Solaris X-Git-Tag: 2.0.22~62 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f1bd9f39b6a87eb82a9dcb7da0832a542c3d6be;p=thirdparty%2Fapache%2Fhttpd.git tweak make_exports.awk so it works with nawk on Solaris Submitted by: Sander Striker git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89653 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/build/make_exports.awk b/build/make_exports.awk index 5115301894e..b50768125d6 100644 --- a/build/make_exports.awk +++ b/build/make_exports.awk @@ -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