You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@apache.org on 2001/07/16 23:07:41 UTC

cvs commit: httpd-2.0/server log.c

wrowe       01/07/16 14:07:41

  Modified:    modules/cache mod_file_cache.c
               modules/loggers mod_log_config.c
               modules/mappers mod_rewrite.c
               server   log.c
  Log:
    Obvious files that need inheritance, correct me if I'm wrong.
  
  Revision  Changes    Path
  1.57      +1 -1      httpd-2.0/modules/cache/mod_file_cache.c
  
  Index: mod_file_cache.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/cache/mod_file_cache.c,v
  retrieving revision 1.56
  retrieving revision 1.57
  diff -u -r1.56 -r1.57
  --- mod_file_cache.c	2001/06/27 20:18:03	1.56
  +++ mod_file_cache.c	2001/07/16 21:07:36	1.57
  @@ -207,7 +207,7 @@
   	return;
       }
   
  -    rc = apr_file_open(&fd, fspec, APR_READ | APR_BINARY | APR_XTHREAD,
  +    rc = apr_file_open(&fd, fspec, APR_READ | APR_BINARY | APR_XTHREAD | APR_INHERIT,
                          APR_OS_DEFAULT, cmd->pool);
       if (rc != APR_SUCCESS) {
           ap_log_error(APLOG_MARK, APLOG_WARNING, rc, cmd->server,
  
  
  
  1.61      +1 -1      httpd-2.0/modules/loggers/mod_log_config.c
  
  Index: mod_log_config.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/loggers/mod_log_config.c,v
  retrieving revision 1.60
  retrieving revision 1.61
  diff -u -r1.60 -r1.61
  --- mod_log_config.c	2001/05/22 01:31:06	1.60
  +++ mod_log_config.c	2001/07/16 21:07:37	1.61
  @@ -206,7 +206,7 @@
   
   module AP_MODULE_DECLARE_DATA log_config_module;
   
  -static int xfer_flags = (APR_WRITE | APR_APPEND | APR_CREATE);
  +static int xfer_flags = (APR_WRITE | APR_APPEND | APR_CREATE | APR_INHERIT);
   static apr_fileperms_t xfer_perms = APR_OS_DEFAULT;
   static apr_hash_t *log_hash;
   
  
  
  
  1.78      +1 -1      httpd-2.0/modules/mappers/mod_rewrite.c
  
  Index: mod_rewrite.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/mappers/mod_rewrite.c,v
  retrieving revision 1.77
  retrieving revision 1.78
  diff -u -r1.77 -r1.78
  --- mod_rewrite.c	2001/05/18 18:38:41	1.77
  +++ mod_rewrite.c	2001/07/16 21:07:38	1.78
  @@ -3096,7 +3096,7 @@
       const char *fname;
       apr_status_t rc;
       piped_log *pl;
  -    int    rewritelog_flags = ( APR_WRITE | APR_APPEND | APR_CREATE );
  +    int    rewritelog_flags = ( APR_WRITE | APR_APPEND | APR_CREATE | APR_INHERIT );
       apr_fileperms_t rewritelog_mode  = ( APR_UREAD | APR_UWRITE | APR_GREAD | APR_WREAD );
   
       conf = ap_get_module_config(s->module_config, &rewrite_module);
  
  
  
  1.94      +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.93
  retrieving revision 1.94
  diff -u -r1.93 -r1.94
  --- log.c	2001/06/06 22:24:54	1.93
  +++ log.c	2001/07/16 21:07:40	1.94
  @@ -266,7 +266,7 @@
       else {
   	fname = ap_server_root_relative(p, s->error_fname);
           rc = apr_file_open(&s->error_log, fname, 
  -                      APR_APPEND | APR_READ | APR_WRITE | APR_CREATE,
  +                      APR_APPEND | APR_READ | APR_WRITE | APR_CREATE | APR_INHERIT,
                         APR_OS_DEFAULT, p);
           if (rc != APR_SUCCESS) {
               ap_log_error(APLOG_MARK, APLOG_STARTUP, rc, NULL,