diff options
author | Jeff Trawick <trawick@apache.org> | 2001-12-21 14:50:41 +0100 |
---|---|---|
committer | Jeff Trawick <trawick@apache.org> | 2001-12-21 14:50:41 +0100 |
commit | 50c48959077c35aa0244cc33fa835f7a49127eda (patch) | |
tree | dec7e91c45e3cb7feeee3051e7a24f675769df71 | |
parent | Fixed a bug in ap_rgetline() (diff) | |
download | apache2-50c48959077c35aa0244cc33fa835f7a49127eda.tar.xz apache2-50c48959077c35aa0244cc33fa835f7a49127eda.zip |
Pick up Brad Nicholes' old fix so that make_exports.awk can handle
AP_HOOK invocations which span lines.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92563 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | STATUS | 9 | ||||
-rw-r--r-- | build/make_exports.awk | 2 |
2 files changed, 2 insertions, 9 deletions
@@ -1,5 +1,5 @@ APACHE 2.0 STATUS: -*-text-*- -Last modified at [$Date: 2001/12/17 22:05:58 $] +Last modified at [$Date: 2001/12/21 13:50:41 $] Release: @@ -92,13 +92,6 @@ RELEASE SHOWSTOPPERS: platforms, and should only be used in MPMs like worker with limited OS exposure. - * make_exports.awk doesn't handle declarations that span multiple - lines. Thus, stuff like ap_hook_error_log doesn't end up in - exports.c and httpd.exp. This can cause DSO modules which call - ap_hook_error_log (or other missing functions -- if there are - any) to segfault on AIX and can probably cause load or other - errors on some other platforms. - RELEASE NON-SHOWSTOPPERS BUT WOULD BE REAL NICE TO WRAP THESE UP: * Handling of %2f in URIs. Currently both 1.3 and 2.0 diff --git a/build/make_exports.awk b/build/make_exports.awk index 0cf75f02c2..09651f2af6 100644 --- a/build/make_exports.awk +++ b/build/make_exports.awk @@ -85,7 +85,7 @@ function add_symbol(symbol) { next } -/^[ \t]*AP_DECLARE_HOOK[^(]*[(][^)]*[)]/ { +/^[ \t]*AP_DECLARE_HOOK[^(]*[(][^)]*/ { split($0, args, ",") symbol = args[2] sub("^[ \t]+", "", symbol) |