From: Brian Havard Date: Sat, 18 Aug 2001 09:49:04 +0000 (+0000) Subject: After fixing append mode in APR, we no longer need to copy the error log handle X-Git-Tag: 2.0.25~304 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d12da6b0f5676f4ff5322525ef8dac4f15d01965;p=apache After fixing append mode in APR, we no longer need to copy the error log handle from the parent process. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90319 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm/mpmt_os2/mpmt_os2.c b/server/mpm/mpmt_os2/mpmt_os2.c index 99806d1c8e..0338c6c21f 100644 --- a/server/mpm/mpmt_os2/mpmt_os2.c +++ b/server/mpm/mpmt_os2/mpmt_os2.c @@ -134,7 +134,6 @@ typedef struct { } listen_socket_t; typedef struct { - apr_os_file_t errorlog_fd; apr_time_t restart_time; HMTX accept_mutex; listen_socket_t listeners[1]; @@ -166,8 +165,6 @@ int ap_mpm_run(apr_pool_t *_pconf, apr_pool_t *plog, server_rec *s ) ap_listen_rec *lr; int num_listeners = 0; - apr_file_close(ap_server_conf->error_log); - apr_os_file_put(&ap_server_conf->error_log, &parent_info->errorlog_fd, pconf); ap_restart_time = parent_info->restart_time; ap_mpm_accept_mutex = parent_info->accept_mutex; @@ -287,7 +284,6 @@ static char master_main() ap_restart_time = apr_time_now(); parent_info->restart_time = ap_restart_time; parent_info->accept_mutex = ap_mpm_accept_mutex; - apr_os_file_get(&parent_info->errorlog_fd, s->error_log); /* Allocate shared memory for scoreboard */ if (ap_scoreboard_image == NULL) {