You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by dg...@hyperreal.org on 1997/10/27 20:09:44 UTC

cvs commit: apachen/src/main http_log.c

dgaudet     97/10/27 11:09:44

  Modified:    src/main http_log.c
  Log:
  WIN32 can also do the stderr/errorlog redirecting and properly detach
  from stdin/out.
  
  Submitted by:	Paul Sutton
  Reviewed by:	Dean Gaudet, Jim Jagielski
  
  Revision  Changes    Path
  1.42      +0 -4      apachen/src/main/http_log.c
  
  Index: http_log.c
  ===================================================================
  RCS file: /export/home/cvs/apachen/src/main/http_log.c,v
  retrieving revision 1.41
  retrieving revision 1.42
  diff -u -r1.41 -r1.42
  --- http_log.c	1997/10/22 20:29:38	1.41
  +++ http_log.c	1997/10/27 19:09:43	1.42
  @@ -226,13 +226,10 @@
   void open_logs (server_rec *s_main, pool *p)
   {
       server_rec *virt, *q;
  -#ifndef WIN32
       int replace_stderr;
  -#endif
   
       open_error_log (s_main, p);
   
  -#ifndef WIN32
       replace_stderr = 1;
       if (s_main->error_log) {
   	/* replace stderr with this new log */
  @@ -252,7 +249,6 @@
   	aplog_error(APLOG_MARK, APLOG_CRIT, s_main,
   	    "unable to replace stderr with /dev/null");
       }
  -#endif
   
       for (virt = s_main->next; virt; virt = virt->next) {
   	if (virt->error_fname)