httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randy Terbush <ra...@zyzzyva.com>
Subject Removing AccessConfig and ResourceConfig dependency
Date Sun, 22 Dec 1996 21:52:58 GMT
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... */
      



Mime
View raw message