Return-Path: Delivered-To: apmail-new-httpd-archive@apache.org Received: (qmail 61856 invoked by uid 500); 26 Jul 2001 03:50:08 -0000 Mailing-List: contact new-httpd-help@apache.org; run by ezmlm Precedence: bulk Reply-To: new-httpd@apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list new-httpd@apache.org Received: (qmail 61845 invoked from network); 26 Jul 2001 03:50:08 -0000 X-Authentication-Warning: cobra.cs.Virginia.EDU: jcw5q owned process doing -bs Date: Wed, 25 Jul 2001 23:50:13 -0400 (EDT) From: Cliff Woolley X-X-Sender: To: Subject: make_var_export.awk and #if's Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N 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