dgaudet 99/06/19 14:56:28
Modified: mpm/src/main mpm_prefork.c Log: Ben L. was complaining that he wanted -X ... try "-D ONE_PROCESS" now instead. The general problem is that mpms need arbitrary extensions to the command line options... -D seems somewhat reasonable. Although I can think of better stuff. This works for now. Revision Changes Path 1.2 +3 -1 apache-2.0/mpm/src/main/mpm_prefork.c Index: mpm_prefork.c =================================================================== RCS file: /home/cvs/apache-2.0/mpm/src/main/mpm_prefork.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- mpm_prefork.c 1999/06/18 18:39:31 1.1 +++ mpm_prefork.c 1999/06/19 21:56:27 1.2 @@ -3680,12 +3680,14 @@ { static int restart_num = 0; + one_process = ap_exists_config_define("ONE_PROCESS"); + /* sigh, want this only the second time around */ if (restart_num++ == 1) { is_graceful = 0; if (!one_process) { - //detach(); + /* TODO: detach(); ... it should work fine, this is just easier for debugging */ } my_pid = getpid();