You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by fu...@apache.org on 2012/03/16 00:53:26 UTC

svn commit: r1301281 - /httpd/httpd/trunk/build/make_nw_export.awk

Author: fuankg
Date: Thu Mar 15 23:53:26 2012
New Revision: 1301281

URL: http://svn.apache.org/viewvc?rev=1301281&view=rev
Log:
Fixed broken *_DECLARE_DATA section.
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.

Modified:
    httpd/httpd/trunk/build/make_nw_export.awk

Modified: httpd/httpd/trunk/build/make_nw_export.awk
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/build/make_nw_export.awk?rev=1301281&r1=1301280&r2=1301281&view=diff
==============================================================================
--- httpd/httpd/trunk/build/make_nw_export.awk (original)
+++ httpd/httpd/trunk/build/make_nw_export.awk Thu Mar 15 23:53:26 2012
@@ -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)
 }