httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cliff Woolley <cliffwool...@yahoo.com>
Subject make_var_export.awk and #if's
Date Thu, 26 Jul 2001 03:50:13 GMT

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?

Thanks,
Cliff

--------------------------------------------------------------
   Cliff Woolley
   cliffwoolley@yahoo.com
   Charlottesville, VA



Mime
View raw message