]> granicus.if.org Git - apache/commitdiff
Fixed broken *_DECLARE_DATA section.
authorGuenter Knauf <fuankg@apache.org>
Thu, 15 Mar 2012 23:53:26 +0000 (23:53 +0000)
committerGuenter Knauf <fuankg@apache.org>
Thu, 15 Mar 2012 23:53:26 +0000 (23:53 +0000)
Seems our preprocessor is some crazy and inserts a blank
after replacing a define which made the awk script fail.
Patch submitted by: normw gknw net.

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

build/make_nw_export.awk

index 9334c5d510db5f7b7042a1c1a431dea155ff2630..e137c94d924af044d6363d07e6f06593e5232355 100644 (file)
@@ -83,8 +83,8 @@ function add_symbol(sym_name) {
 }
 
 /^[ \t]*(extern[ \t]+)?AP[RU]?_DECLARE_DATA .*;/ {
-    gsub(/[*;\n\r]/, "", $NF)
-    gsub(/\[.*\]/, "", $NF)
+    gsub(/[*;\n\r]/, "")
+    gsub(/\[.*\]/, "")
     add_symbol($NF)
 }