You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by pc...@hyperreal.org on 1999/02/05 10:12:46 UTC
cvs commit: apache-1.3/src/main http_main.c
pcs 99/02/05 01:12:45
Modified: src/main http_main.c
Log:
The patch below prevents ap_open_logs() from being called if we have
either a -i or -u command line option. So the user can see the error
messages (if any) from -i or -u. It also prevents the printing of the
"Apache running..." message, which implies that Apache has been started to
service requests.
Reviewed by: Brian Behlendorf, Bill Stoddard
Revision Changes Path
1.421 +4 -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.420
retrieving revision 1.421
diff -u -r1.420 -r1.421
--- http_main.c 1999/01/28 18:27:19 1.420
+++ http_main.c 1999/02/05 09:12:44 1.421
@@ -5964,14 +5964,16 @@
ap_init_modules(pconf, server_conf);
ap_suexec_enabled = init_suexec();
version_locked++;
- ap_open_logs(server_conf, pconf);
+ if (!install) {
+ ap_open_logs(server_conf, pconf);
+ }
set_group_privs();
#ifdef OS2
printf("%s running...\n", ap_get_server_version());
#endif
#ifdef WIN32
- if (!child) {
+ if (!child && !install) {
printf("%s running...\n", ap_get_server_version());
}
#endif