]> granicus.if.org Git - apache/commitdiff
Missed one, all should have recovered from APR_INHERIT now.
authorWilliam A. Rowe Jr <wrowe@apache.org>
Wed, 18 Jul 2001 19:58:49 +0000 (19:58 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Wed, 18 Jul 2001 19:58:49 +0000 (19:58 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89602 13f79535-47bb-0310-9956-ffa450edef68

server/log.c

index 1f068228460edfe5d1a4b53daf9f52edc2d8c292..9a436915706ad83806c8ba38811bdce20ebe1107 100644 (file)
@@ -266,7 +266,7 @@ static void open_error_log(server_rec *s, apr_pool_t *p)
     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 @@ static void open_error_log(server_rec *s, apr_pool_t *p)
                         ap_server_argv0, fname);
             exit(1);
        }
+        apr_file_set_inherit(s->error_log);
     }
 }