From 943441207d8b3075c9dceaa5270c19752a81847c Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Fri, 5 Apr 2002 02:23:02 +0000 Subject: [PATCH] quiet a bogus gcc warning that crops up with -O2 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94443 13f79535-47bb-0310-9956-ffa450edef68 --- server/mpm/beos/beos.c | 1 + server/mpm/experimental/perchild/perchild.c | 1 + server/mpm/perchild/perchild.c | 1 + server/mpm/prefork/prefork.c | 1 + server/mpm/worker/worker.c | 1 + 5 files changed, 5 insertions(+) diff --git a/server/mpm/beos/beos.c b/server/mpm/beos/beos.c index d6e4d72fd0..c608176a93 100644 --- a/server/mpm/beos/beos.c +++ b/server/mpm/beos/beos.c @@ -1007,6 +1007,7 @@ static int beos_pre_config(apr_pool_t *pconf, apr_pool_t *plog, apr_pool_t *ptem if (debug) { foreground = one_process = 1; + no_detach = 0; } else { diff --git a/server/mpm/experimental/perchild/perchild.c b/server/mpm/experimental/perchild/perchild.c index c41afc3acb..f5afce62fa 100644 --- a/server/mpm/experimental/perchild/perchild.c +++ b/server/mpm/experimental/perchild/perchild.c @@ -1465,6 +1465,7 @@ static int perchild_pre_config(apr_pool_t *p, apr_pool_t *plog, apr_pool_t *ptem if (debug) { foreground = one_process = 1; + no_detach = 0; } else { one_process = ap_exists_config_define("ONE_PROCESS"); diff --git a/server/mpm/perchild/perchild.c b/server/mpm/perchild/perchild.c index c41afc3acb..f5afce62fa 100644 --- a/server/mpm/perchild/perchild.c +++ b/server/mpm/perchild/perchild.c @@ -1465,6 +1465,7 @@ static int perchild_pre_config(apr_pool_t *p, apr_pool_t *plog, apr_pool_t *ptem if (debug) { foreground = one_process = 1; + no_detach = 0; } else { one_process = ap_exists_config_define("ONE_PROCESS"); diff --git a/server/mpm/prefork/prefork.c b/server/mpm/prefork/prefork.c index f74720e4da..3cb8b061ba 100644 --- a/server/mpm/prefork/prefork.c +++ b/server/mpm/prefork/prefork.c @@ -1201,6 +1201,7 @@ static int prefork_pre_config(apr_pool_t *p, apr_pool_t *plog, apr_pool_t *ptemp if (debug) { foreground = one_process = 1; + no_detach = 0; } else { diff --git a/server/mpm/worker/worker.c b/server/mpm/worker/worker.c index 7e8354825d..8f7aaeed3d 100644 --- a/server/mpm/worker/worker.c +++ b/server/mpm/worker/worker.c @@ -1810,6 +1810,7 @@ static int worker_pre_config(apr_pool_t *pconf, apr_pool_t *plog, if (debug) { foreground = one_process = 1; + no_detach = 0; } else { one_process = ap_exists_config_define("ONE_PROCESS"); -- 2.40.0