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/modules/metadata mod_cern_meta.c
Date Sat, 01 Feb 2003 14:08:52 GMT
trawick     2003/02/01 06:08:52

  Modified:    .        CHANGES
               modules/metadata mod_cern_meta.c
  Log:
  Fix mod_cern_meta to not create empty metafiles when the
  metafile searched for does not exist.
  
  PR:             12353
  Submitted by:   Owen Rees <owen_rees@hp.com>
  
  Revision  Changes    Path
  1.1052    +4 -0      httpd-2.0/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/CHANGES,v
  retrieving revision 1.1051
  retrieving revision 1.1052
  diff -u -r1.1051 -r1.1052
  --- CHANGES	31 Jan 2003 02:35:19 -0000	1.1051
  +++ CHANGES	1 Feb 2003 14:08:52 -0000	1.1052
  @@ -2,6 +2,10 @@
   
     [Remove entries to the current 2.0 section below, when backported]
   
  +  *) Fix mod_cern_meta to not create empty metafiles when the
  +     metafile searched for does not exist.  PR 12353
  +     [Owen Rees <owen_rees@hp.com>]
  +
     *) Modify buildconf to copy all required files into httpd's tree.
        [Thom May <thom@planetarytramp.net>]
   
  
  
  
  1.40      +1 -1      httpd-2.0/modules/metadata/mod_cern_meta.c
  
  Index: mod_cern_meta.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/metadata/mod_cern_meta.c,v
  retrieving revision 1.39
  retrieving revision 1.40
  diff -u -r1.39 -r1.40
  --- mod_cern_meta.c	17 May 2002 11:33:10 -0000	1.39
  +++ mod_cern_meta.c	1 Feb 2003 14:08:52 -0000	1.40
  @@ -380,7 +380,7 @@
       }
       ap_destroy_sub_req(rr);
   
  -    retcode = apr_file_open(&f, metafilename, APR_READ | APR_CREATE, APR_OS_DEFAULT,
r->pool);
  +    retcode = apr_file_open(&f, metafilename, APR_READ, APR_OS_DEFAULT, r->pool);
       if (retcode != APR_SUCCESS) {
   	if (APR_STATUS_IS_ENOENT(retcode)) {
   	    return DECLINED;
  
  
  

Mime
View raw message