httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: httpd-2.0/server log.c
Date Wed, 18 Jul 2001 19:58:49 GMT
wrowe       01/07/18 12:58:49

  Modified:    server   log.c
  Log:
    Missed one, all should have recovered from APR_INHERIT now.
  
  Revision  Changes    Path
  1.95      +2 -1      httpd-2.0/server/log.c
  
  Index: log.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/log.c,v
  retrieving revision 1.94
  retrieving revision 1.95
  diff -u -r1.94 -r1.95
  --- log.c	2001/07/16 21:07:40	1.94
  +++ log.c	2001/07/18 19:58:49	1.95
  @@ -266,7 +266,7 @@
       else {
   	fname = ap_server_root_relative(p, s->error_fname);
           rc = apr_file_open(&s->error_log, fname, 
  -                      APR_APPEND | APR_READ | APR_WRITE | APR_CREATE | APR_INHERIT,
  +                      APR_APPEND | APR_READ | APR_WRITE | APR_CREATE,
                         APR_OS_DEFAULT, p);
           if (rc != APR_SUCCESS) {
               ap_log_error(APLOG_MARK, APLOG_STARTUP, rc, NULL, 
  @@ -274,6 +274,7 @@
   		         ap_server_argv0, fname);
               exit(1);
   	}
  +        apr_file_set_inherit(s->error_log);
       }
   }
   
  
  
  

Mime
View raw message