From 8584053f10a424823be05ec8322d14a54fa24fdb Mon Sep 17 00:00:00 2001 From: Guenter Knauf Date: Thu, 15 Mar 2012 23:53:26 +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. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1301281 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 9334c5d510d..e137c94d924 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) } -- 2.47.3