From 844321148dd732115fd3fbdd5885b5ff42f67cc8 Mon Sep 17 00:00:00 2001 From: Guenter Knauf Date: Mon, 26 Mar 2012 01:36:51 +0000 Subject: [PATCH] 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 r1301281). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1305192 13f79535-47bb-0310-9956-ffa450edef68 --- build/make_nw_export.awk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/make_nw_export.awk b/build/make_nw_export.awk index 7b39012688..8a5338c244 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) }