ben 98/06/26 14:15:20
Modified: src/main http_main.c Log: Make Windoze exit cleanly Submitted by: Pierpaolo Fumagalli <[EMAIL PROTECTED]> Revision Changes Path 1.368 +3 -2 apache-1.3/src/main/http_main.c Index: http_main.c =================================================================== RCS file: /export/home/cvs/apache-1.3/src/main/http_main.c,v retrieving revision 1.367 retrieving revision 1.368 diff -u -r1.367 -r1.368 --- http_main.c 1998/06/25 21:06:03 1.367 +++ http_main.c 1998/06/26 21:15:18 1.368 @@ -5063,7 +5063,7 @@ cleanup_scoreboard(); APD2("process PID %d exited", my_pid); - exit(0); + clean_parent_exit(0); } /* standalone_main */ /* Spawn a child Apache process. The child process has the command @@ -5525,7 +5525,8 @@ "Apache", install, run_as_service); } - return (0); + clean_parent_exit(0); + return 0; /* purely to avoid a warning */ } #endif /* ndef MULTITHREAD */