metafile searched for does not exist.
PR: 12353
Submitted by: Owen Rees <owen_rees@hp.com>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98561
13f79535-47bb-0310-9956-
ffa450edef68
[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>]
}
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;