manoj 99/08/03 13:03:10
Modified: mpm/src/modules/mpm/dexter dexter.c
mpm/src/modules/mpm/mpmt_pthread mpmt_pthread.c
Log:
get rid of the vestigial ap_open_logs call (and the ap_clear_pool that
went along with it), to fix logging problems. Sometimes the bug would
show up as a segfault, and sometimes as logging to an incorrect file.
Revision Changes Path
1.13 +0 -2 apache-2.0/mpm/src/modules/mpm/dexter/dexter.c
Index: dexter.c
===================================================================
RCS file: /home/cvs/apache-2.0/mpm/src/modules/mpm/dexter/dexter.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -u -r1.12 -r1.13
--- dexter.c 1999/08/03 18:17:48 1.12
+++ dexter.c 1999/08/03 20:03:07 1.13
@@ -1333,8 +1333,6 @@
"no listening sockets available, shutting down");
return 1;
}
- ap_clear_pool(plog);
- ap_open_logs(server_conf, plog);
ap_log_pid(pconf, ap_pid_fname);
SAFE_ACCEPT(accept_mutex_init(pconf, 1));
if (!is_graceful) {
1.19 +0 -2
apache-2.0/mpm/src/modules/mpm/mpmt_pthread/mpmt_pthread.c
Index: mpmt_pthread.c
===================================================================
RCS file:
/home/cvs/apache-2.0/mpm/src/modules/mpm/mpmt_pthread/mpmt_pthread.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -u -r1.18 -r1.19
--- mpmt_pthread.c 1999/08/03 18:17:51 1.18
+++ mpmt_pthread.c 1999/08/03 20:03:09 1.19
@@ -1377,8 +1377,6 @@
"no listening sockets available, shutting down");
return 1;
}
- ap_clear_pool(plog);
- ap_open_logs(server_conf, plog);
ap_log_pid(pconf, ap_pid_fname);
SAFE_ACCEPT(accept_mutex_init(pconf, 1));
if (!is_graceful) {