]> granicus.if.org Git - apache/commitdiff
After fixing append mode in APR, we no longer need to copy the error log handle
authorBrian Havard <bjh@apache.org>
Sat, 18 Aug 2001 09:49:04 +0000 (09:49 +0000)
committerBrian Havard <bjh@apache.org>
Sat, 18 Aug 2001 09:49:04 +0000 (09:49 +0000)
from the parent process.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90319 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/mpmt_os2/mpmt_os2.c

index 99806d1c8eb48c6ca3239d404005d08b574bb43d..0338c6c21ff0f466640ab54868c9b77f414b3e53 100644 (file)
@@ -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) {