brian 98/05/09 19:20:13
Modified: src/main util_script.c Log: There's no fork on WIN32, so this is modifying the error log of the main server. Ick. Dean noticed this. Revision Changes Path 1.109 +4 -1 apache-1.3/src/main/util_script.c Index: util_script.c =================================================================== RCS file: /export/home/cvs/apache-1.3/src/main/util_script.c,v retrieving revision 1.108 retrieving revision 1.109 diff -u -r1.108 -r1.109 --- util_script.c 1998/05/03 22:53:42 1.108 +++ util_script.c 1998/05/10 02:20:12 1.109 @@ -597,11 +597,14 @@ #endif +#ifndef WIN32 /* the fd on r->server->error_log is closed, but we need somewhere to * put the error messages from the log_* functions. So, we use stderr, - * since that is better than allowing errors to go unnoticed. + * since that is better than allowing errors to go unnoticed. Don't do + * this on Win32, though, since we haven't fork()'d. */ r->server->error_log = stderr; +#endif #ifdef RLIMIT_CPU if (conf->limit_cpu != NULL)