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:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user