Mailing List Archive

cvs commit: apache-1.3/src/main http_main.c
pcs 98/05/09 11:49:35

Modified: src/main http_main.c
Log:
The PID file on Win32 contained the PID of the most recently created
child process, not the parent.

Revision Changes Path
1.349 +3 -1 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.348
retrieving revision 1.349
diff -u -r1.348 -r1.349
--- http_main.c 1998/05/09 15:56:23 1.348
+++ http_main.c 1998/05/09 18:49:33 1.349
@@ -5285,7 +5285,9 @@
}

server_conf = ap_read_config(pconf, ptrans, ap_server_confname);
- ap_log_pid(pconf, ap_pid_fname);
+ if (!child) {
+ ap_log_pid(pconf, ap_pid_fname);
+ }
ap_init_modules(pconf, server_conf);
ap_suexec_enabled = init_suexec();
ap_set_version();