I ran into a problem where some of the hook functions were not being included in the AWK generated export list. This problem didn't show itself until MOD_PROXY tried to call ap_run_create_connection(). The problem is that some of the hook functions (and maybe others) are declared on multiple lines when the AWK script expects them to be on a single line. NetWare depends heavily on the export list being correct so I changed the AWK script for NetWare to produce a correct export list. I didn't know if any of the other platforms care so I didn't make the same changes their scripts. Somebody who knows the Unix platforms better than I might want to check.
Brad >>> [EMAIL PROTECTED] Monday, November 19, 2001 4:33:15 PM >>> bnicholes 01/11/19 15:33:15 Modified: build make_nw_export.awk Log: Fixed the AWK script so that it will pick up functions that have been declared on multiple lines such as create_connection in connection.h. Otherwise multi-line declared functions are omitted from the export list. Revision Changes Path 1.4 +1 -1 httpd-2.0/build/make_nw_export.awk Index: make_nw_export.awk =================================================================== RCS file: /home/cvs/httpd-2.0/build/make_nw_export.awk,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- make_nw_export.awk 2001/11/02 17:56:14 1.3 +++ make_nw_export.awk 2001/11/19 23:33:15 1.4 @@ -40,7 +40,7 @@ next } -/^[ \t]*AP_DECLARE_HOOK[^(]*[(][^)]*[)]/ { +/^[ \t]*AP_DECLARE_HOOK[^(]*[(][^)]*/ { split($0, args, ",") symbol = args[2] sub("^[ \t]+", "", symbol)