You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by bj...@apache.org on 2001/08/18 11:49:04 UTC

cvs commit: httpd-2.0/server/mpm/mpmt_os2 mpmt_os2.c

bjh         01/08/18 02:49:04

  Modified:    server/mpm/mpmt_os2 mpmt_os2.c
  Log:
  After fixing append mode in APR, we no longer need to copy the error log handle
  from the parent process.
  
  Revision  Changes    Path
  1.2       +0 -4      httpd-2.0/server/mpm/mpmt_os2/mpmt_os2.c
  
  Index: mpmt_os2.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/mpm/mpmt_os2/mpmt_os2.c,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- mpmt_os2.c	2001/08/17 17:07:34	1.1
  +++ mpmt_os2.c	2001/08/18 09:49:04	1.2
  @@ -134,7 +134,6 @@
   } 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 @@
           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 @@
       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) {