httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chuck Murcko <ch...@n2k.com>
Subject Re: Removing AccessConfig and ResourceConfig dependency
Date Sun, 22 Dec 1996 22:14:11 GMT
This is the fix we missed, that Ben caught, right?

+1

Randy Terbush liltingly intones:
> 
> Could we get a vote on this patch as well?
> 
> 
> *** ../../../official/apache-1.2/apache/src/http_config.c	Thu Dec  5 06:00:56 1996
> --- http_config.c	Mon Dec  9 15:46:20 1996
> ***************
> *** 720,727 ****
> --- 720,734 ----
>       FILE *cfg;
>       const char *errmsg;
>       cmd_parms parms;
> +     struct stat finfo;
>       
>       fname = server_root_relative (p, fname);
> + 
> +     if (!(strcmp(fname, server_root_relative(p, RESOURCE_CONFIG_FILE))) ||
> + 	!(strcmp(fname, server_root_relative(p, ACCESS_CONFIG_FILE)))) {
> + 	if (stat(fname, &finfo) == -1)
> + 	    return;
> +     }
>       
>       /* GCC's initialization extensions are soooo nice here... */
>       
> 
> 
> 

chuck
Chuck Murcko	N2K Inc.	Wayne PA	chuck@telebase.com
And now, on a lighter note:
Weiler's Law:
	Nothing is impossible for the man who doesn't have to do it
himself.

Mime
View raw message