summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorGuenter Knauf <fuankg@apache.org>2012-03-26 01:36:51 +0000
committerGuenter Knauf <fuankg@apache.org>2012-03-26 01:36:51 +0000
commit844321148dd732115fd3fbdd5885b5ff42f67cc8 (patch)
tree03de1a52d3937f53ba9ff3fd3f1eb389a872f3a5 /build
parent4e6a0b00d11ecaebf9b88ea70dcf0bb31099ccf8 (diff)
downloadhttpd-844321148dd732115fd3fbdd5885b5ff42f67cc8.tar.gz
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
Diffstat (limited to 'build')
-rw-r--r--build/make_nw_export.awk4
1 files 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)
}