httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brad Nicholes" <>
Subject (problem with awk generated export lists) Re: cvs commit: httpd-2.0/build make_nw_export.awk
Date Mon, 19 Nov 2001 23:58:09 GMT
   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.


>>> Monday, November 19, 2001 4:33:15 PM >>>
bnicholes    01/11/19 15:33:15

  Modified:    build    make_nw_export.awk
  Fixed the AWK script so that it will pick up functions that have
  declared on multiple lines such as create_connection in
  Otherwise multi-line declared functions are omitted from the export
  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 @@
  -/^[ \t]*AP_DECLARE_HOOK[^(]*[(][^)]*[)]/ {
  +/^[ \t]*AP_DECLARE_HOOK[^(]*[(][^)]*/ {
       split($0, args, ",")
       symbol = args[2]
       sub("^[ \t]+", "", symbol)

View raw message