httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Bloom <...@covalent.net>
Subject Re: make_var_export.awk and #if's
Date Thu, 26 Jul 2001 15:47:28 GMT
On Wednesday 25 July 2001 20:50, Cliff Woolley wrote:
> I was searching for instances of "#ifdef APR_" and came up with an odd one
> in export_vars.h:
>
> #ifdef APR_HAS_MMAP
>         apr_bucket_type_mmap
> #endif /* APR_HAS_MMAP */
>
> This is clearly wrong... apr_buckets.h uses "#if APR_HAS_MMAP" not
> "#ifdef...".  It turns out that make_var_export.awk is doing a pattern
> match on "if(def)?" and inserting "#ifdef macro" into export_vars.h
> regardless of whether it should really be the #if or the #ifdef flavor.
>
> My lack of awk skill is showing, however... can somebody suggest the
> best incantation to fix this?

You can safely ignore this now.  :-)  Sander's new awk script removes the need for the 
make_var_export.awk script.

Ryan

_____________________________________________________________________________
Ryan Bloom                        	rbb@apache.org
Covalent Technologies			rbb@covalent.net
-----------------------------------------------------------------------------

Mime
View raw message