httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: httpd-2.0/server log.c
Date Mon, 14 Jul 2003 14:48:41 GMT
trawick     2003/07/14 07:48:41

  Modified:    server   log.c
  Log:
  no need to open error log for reading
  
  Submitted by:	Bjoern A. Zeeb
  Reviewed by:	Jeff Trawick, who added the same change to another path
  
  Revision  Changes    Path
  1.135     +2 -2      httpd-2.0/server/log.c
  
  Index: log.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/log.c,v
  retrieving revision 1.134
  retrieving revision 1.135
  diff -u -r1.134 -r1.135
  --- log.c	3 Jun 2003 18:05:20 -0000	1.134
  +++ log.c	14 Jul 2003 14:48:40 -0000	1.135
  @@ -200,7 +200,7 @@
           return APR_EBADPATH;
       }
       if ((rc = apr_file_open(&stderr_file, filename,
  -                            APR_APPEND | APR_READ | APR_WRITE | APR_CREATE,
  +                            APR_APPEND | APR_WRITE | APR_CREATE,
                               APR_OS_DEFAULT, p)) != APR_SUCCESS) {
           ap_log_error(APLOG_MARK, APLOG_STARTUP, rc, NULL,
                        "%s: could not open error log file %s.",
  @@ -313,7 +313,7 @@
               return DONE;
           }
           if ((rc = apr_file_open(&s->error_log, fname,
  -                               APR_APPEND | APR_READ | APR_WRITE | APR_CREATE,
  +                               APR_APPEND | APR_WRITE | APR_CREATE,
                                  APR_OS_DEFAULT, p)) != APR_SUCCESS) {
               ap_log_error(APLOG_MARK, APLOG_STARTUP, rc, NULL,
                            "%s: could not open error log file %s.",
  
  
  

Mime
View raw message