You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rb...@apache.org on 2000/12/31 20:19:07 UTC

cvs commit: httpd-2.0/server log.c

rbb         00/12/31 11:19:07

  Modified:    .        CHANGES
               server   log.c
  Log:
  Use a real pool to dup the error log file descriptor.
  
  Revision  Changes    Path
  1.30      +2 -0      httpd-2.0/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/CHANGES,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- CHANGES	2000/12/29 14:11:10	1.29
  +++ CHANGES	2000/12/31 19:19:06	1.30
  @@ -1,5 +1,7 @@
   Changes with Apache 2.0b1
   
  +  *) Use a real pool to dup the error log descriptor.  [Ryan Bloom]
  +
     *) Fix a segfault caused by mod_ext_filter when the external filter 
        program does not exist. [Jeff Trawick]
   
  
  
  
  1.76      +1 -1      httpd-2.0/server/log.c
  
  Index: log.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/log.c,v
  retrieving revision 1.75
  retrieving revision 1.76
  diff -u -r1.75 -r1.76
  --- log.c	2000/11/26 04:47:30	1.75
  +++ log.c	2000/12/31 19:19:07	1.76
  @@ -286,7 +286,7 @@
           /* replace stderr with this new log */
           apr_flush(s_main->error_log);
           apr_open_stderr(&errfile, p);        
  -        if ((rc = apr_dupfile(&errfile, s_main->error_log, NULL)) != APR_SUCCESS) {
  +        if ((rc = apr_dupfile(&errfile, s_main->error_log, p)) != APR_SUCCESS) {
               ap_log_error(APLOG_MARK, APLOG_CRIT, rc, s_main,
                            "unable to replace stderr with error_log");
           } else {