httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: httpd-2.0/server/mpm/perchild perchild.c
Date Tue, 06 Feb 2001 22:34:59 GMT
trawick     01/02/06 14:34:58

  Modified:    server/mpm/perchild perchild.c
  Log:
  get perchild just a little closer to building; maybe somebody
  with a soft spot in their heart for perchild can spend the
  remaining ten minutes to fix it;
  
  Revision  Changes    Path
  1.38      +4 -2      httpd-2.0/server/mpm/perchild/perchild.c
  
  Index: perchild.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/mpm/perchild/perchild.c,v
  retrieving revision 1.37
  retrieving revision 1.38
  diff -u -r1.37 -r1.38
  --- perchild.c	2001/02/05 15:04:32	1.37
  +++ perchild.c	2001/02/06 22:34:56	1.38
  @@ -78,6 +78,7 @@
   #include "mpm_default.h"
   #include "mpm.h"
   #include "scoreboard.h"
  +#include "util_filter.h"
   
   #ifdef HAVE_UNISTD_H
   #include <unistd.h>
  @@ -1710,7 +1711,8 @@
       return NULL;
   }
   
  -static const char *set_coredumpdir (cmd_parms *cmd, void *dummy, const char *arg) 
  +static const char *set_coredumpdir (cmd_parms *cmd, void *dummy,
  +				    const char *arg) 
   {
       apr_finfo_t finfo;
       const char *fname;
  @@ -1720,7 +1722,7 @@
       }
   
       fname = ap_server_root_relative(cmd->pool, arg);
  -    if ((apr_stat(&finfo, fname, cmd->pool) != APR_SUCCESS) 
  +    if ((apr_stat(&finfo, fname, APR_FINFO_TYPE, cmd->pool) != APR_SUCCESS) 
           || (finfo.filetype != APR_DIR)) {
   	return apr_pstrcat(cmd->pool, "CoreDumpDirectory ", fname, 
   			  " does not exist or is not a directory", NULL);
  
  
  

Mime
View raw message