]> granicus.if.org Git - apache/commitdiff
Fix a file permissions problem which prevented mod_disk_cache
authorJeff Trawick <trawick@apache.org>
Thu, 23 May 2002 14:56:11 +0000 (14:56 +0000)
committerJeff Trawick <trawick@apache.org>
Thu, 23 May 2002 14:56:11 +0000 (14:56 +0000)
from working on Unix.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95246 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
modules/experimental/mod_disk_cache.c

diff --git a/CHANGES b/CHANGES
index 62e1aedae425be9ffdfca9ca37bc901f635c2fac..c08540f1bdcbfdda29c7953dd778770fb8550433 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,5 +1,8 @@
 Changes with Apache 2.0.37
 
+  *) Fix a file permissions problem which prevented mod_disk_cache
+     from working on Unix.  [Jeff Trawick]
+
   *) Add "-k start|startssl|restart|graceful|stop" support to httpd
      for the Unix MPMs.  These have semantics very similar to the
      old apachectl commands of the same name.
index 650978a8e2862d01477c2bd1236d036b4c551627..bd4a4f855acd4448fc367cdfaa8d9fc022d5554b 100644 (file)
@@ -548,7 +548,7 @@ static apr_status_t write_headers(cache_handle_t *h, request_rec *r, cache_info
 
         rv = apr_file_open(&dobj->hfd, dobj->hdrsfile,
                            APR_WRITE | APR_CREATE | APR_EXCL,
-                           0, r->pool);
+                           APR_OS_DEFAULT, r->pool);
         if (rv != APR_SUCCESS) {
             return rv;
         }