Commit 4f1e5036 authored by Guenter Knauf's avatar Guenter Knauf
Browse files

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
parent 91761c71
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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)
}