1
0
mirror of https://github.com/apache/httpd.git synced 2026-01-06 09:01:14 +03:00

Missed one, all should have recovered from APR_INHERIT now.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89602 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
William A. Rowe Jr
2001-07-18 19:58:49 +00:00
parent 1a44af4868
commit ce3b970d96

View 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);
}
}