From: Manoj Kasichainula Date: Tue, 3 Aug 1999 20:03:09 +0000 (+0000) Subject: get rid of the vestigial ap_open_logs call (and the ap_clear_pool that X-Git-Tag: mpm-merge-1~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ff7ed7b561998735aa8decd7f42f0ac4f80543a;p=thirdparty%2Fapache%2Fhttpd.git 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. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83561 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm/dexter/dexter.c b/server/mpm/dexter/dexter.c index 192616a9453..a680efb1891 100644 --- a/server/mpm/dexter/dexter.c +++ b/server/mpm/dexter/dexter.c @@ -1333,8 +1333,6 @@ int ap_mpm_run(pool *_pconf, pool *plog, server_rec *s) "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) { diff --git a/server/mpm/mpmt_pthread/mpmt_pthread.c b/server/mpm/mpmt_pthread/mpmt_pthread.c index d89db173701..33b57491d63 100644 --- a/server/mpm/mpmt_pthread/mpmt_pthread.c +++ b/server/mpm/mpmt_pthread/mpmt_pthread.c @@ -1377,8 +1377,6 @@ int ap_mpm_run(pool *_pconf, pool *plog, server_rec *s) "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) {