From: Guenter Knauf Date: Fri, 17 Aug 2012 11:49:19 +0000 (+0000) Subject: Fixed broken *_DECLARE_DATA section. X-Git-Tag: 2.2.23~41 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50b34ad4482c4a0a7552cb3e54fb89c5829e24b1;p=thirdparty%2Fapache%2Fhttpd.git 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 (Backport r1305192). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@1374210 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/build/make_nw_export.awk b/build/make_nw_export.awk index 93812c904b0..2461e815564 100644 --- a/build/make_nw_export.awk +++ b/build/make_nw_export.awk @@ -82,8 +82,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) }