httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@hyperreal.org
Subject cvs commit: apache-1.3/src/main http_core.c
Date Thu, 23 Apr 1998 16:06:08 GMT
martin      98/04/23 09:06:08

  Modified:    src/main http_core.c
  Log:
  Fix CoreDumpDirectory directive to work server_root_relative
  
  Revision  Changes    Path
  1.187     +1 -0      apache-1.3/src/main/http_core.c
  
  Index: http_core.c
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/main/http_core.c,v
  retrieving revision 1.186
  retrieving revision 1.187
  diff -u -u -r1.186 -r1.187
  --- http_core.c	1998/04/19 20:10:46	1.186
  +++ http_core.c	1998/04/23 16:06:07	1.187
  @@ -1770,6 +1770,7 @@
       const char *err = ap_check_cmd_context(cmd, GLOBAL_ONLY);
       if (err != NULL) return err;
   
  +    arg = ap_server_root_relative(cmd->pool, arg);
       if ((stat(arg, &finfo) == -1) || !S_ISDIR(finfo.st_mode)) {
   	return ap_pstrcat(cmd->pool, "CoreDumpDirectory ", arg, 
   	    " does not exist or is not a directory", NULL);
  
  
  

Mime
View raw message