1
0
mirror of https://github.com/apache/httpd.git synced 2026-10-23 22:49:01 +03:00

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
This commit is contained in:
Guenter Knauf
2012-03-26 01:36:51 +00:00
parent 4e6a0b00d1
commit 844321148d

View File

@@ -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)
}