The recent talk about -DONE_PROCESS and -DNO_DETACH made me want to go
through all the MPM's and verify that they worked like we thought they did
in that regard.  I didn't find any problems, but I did find a set of
duplicated lines in mpm_winnt.c.  It seems to have happened when there was
a search and replace for getenv("ONE_PROCESS") to
ap_exists_config_define("ONE_PROCESS").  Can anybody see any reason that I
shouldn't commit this?


Index: mpm_winnt.c
===================================================================
RCS file: /home/cvs/httpd-2.0/server/mpm/winnt/mpm_winnt.c,v
retrieving revision 1.158
diff -u -d -r1.158 mpm_winnt.c
--- mpm_winnt.c 2001/05/17 12:36:05     1.158
+++ mpm_winnt.c 2001/06/18 18:00:45
@@ -1781,9 +1781,6 @@
     if (ap_exists_config_define("ONE_PROCESS"))
         one_process = -1;

-    if (ap_exists_config_define("ONE_PROCESS"))
-        one_process = -1;
-
     if (!strcasecmp(signal_arg, "runservice")
             && (osver.dwPlatformId == VER_PLATFORM_WIN32_NT)
             && (service_to_start_success != APR_SUCCESS)) {



--------------------------------------------------------------
   Cliff Woolley
   [EMAIL PROTECTED]
   Charlottesville, VA


Reply via email to