From 84efb38cee1463cafa89da1c6bb99b7569af4abf Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Fri, 21 Dec 2001 13:50:41 +0000 Subject: [PATCH] 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 --- STATUS | 9 +-------- build/make_exports.awk | 2 +- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/STATUS b/STATUS index 450f3aa140..22df7df17b 100644 --- a/STATUS +++ b/STATUS @@ -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) -- 2.50.1