httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Orton <jor...@redhat.com>
Subject Re: [PATCH] improve config dir processing
Date Mon, 27 May 2002 12:51:28 GMT
On Mon, May 27, 2002 at 08:02:13AM -0400, Joshua Slive wrote:
> Joe Orton wrote:
> > Currently config directory processing isn't very useful in practice
> > because all files in the config dir are loaded - so if you use an editor
> > which creates backup files, the backup file will still be loaded.
> > 
> > A simple way to fix this is to only load files in the config dir which
> > match the pattern "[A-Za-z0-9]*.conf", as in the following patch (which
> > also removes the noise produced on stderr when processing config dirs)
> 
> Fine, but I still prefer my solution: allow the user to supply the 
> fnmatch, so that they could just do
> Include *.conf
> or
> Include *.whatever
> or
> Include File??.conf
> etc.

I agree that would be better, but it would really require a glob()
function to implement properly; I don't know how portable that is.

Regards,

joe

Mime
View raw message