randy 96/07/27 09:59:44
Modified: src http_config.c
Log:
Initialize server_rec->error_log to STDERR_FILENO so we can safely
use the system log routines before the configured error logs are open.
Revision Changes Path
1.16 +1 -0 apache/src/http_config.c
Index: http_config.c
===================================================================
RCS file: /export/home/cvs/apache/src/http_config.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -C3 -r1.15 -r1.16
*** http_config.c 1996/07/27 13:08:28 1.15
--- http_config.c 1996/07/27 16:59:43 1.16
***************
*** 782,787 ****
--- 782,788 ----
s->server_admin = DEFAULT_ADMIN;
s->server_hostname = NULL;
s->error_fname = DEFAULT_ERRORLOG;
+ s->error_log = fdopen(STDERR_FILENO, "w");
s->srm_confname = RESOURCE_CONFIG_FILE;
s->access_confname = ACCESS_CONFIG_FILE;
s->timeout = DEFAULT_TIMEOUT;