From: Guenter Knauf Date: Thu, 15 Mar 2012 23:53:26 +0000 (+0000) Subject: Fixed broken *_DECLARE_DATA section. X-Git-Tag: 2.5.0-alpha~7356 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=86ed50372ab98a94fbecce36bac512cf33179893;p=apache 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. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1301281 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/build/make_nw_export.awk b/build/make_nw_export.awk index 9334c5d510..e137c94d92 100644 --- a/build/make_nw_export.awk +++ b/build/make_nw_export.awk @@ -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) }