httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject svn commit: r470455 - /httpd/httpd/trunk/modules/cache/mod_disk_cache.c
Date Thu, 02 Nov 2006 18:05:21 GMT
Author: martin
Date: Thu Nov  2 10:05:20 2006
New Revision: 470455

URL: http://svn.apache.org/viewvc?view=rev&rev=470455
Log:
Fix broken compile for platforms with sendfile() -- As Graham says: Looks like this code hasn't
built in the SENDFILE case for a while.

Modified:
    httpd/httpd/trunk/modules/cache/mod_disk_cache.c

Modified: httpd/httpd/trunk/modules/cache/mod_disk_cache.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/cache/mod_disk_cache.c?view=diff&rev=470455&r1=470454&r2=470455
==============================================================================
--- httpd/httpd/trunk/modules/cache/mod_disk_cache.c (original)
+++ httpd/httpd/trunk/modules/cache/mod_disk_cache.c Thu Nov  2 10:05:20 2006
@@ -1298,6 +1298,10 @@
 {
     int flags;
     apr_status_t rv;
+#if APR_HAS_SENDFILE
+    core_dir_config *pdconf = ap_get_module_config(r->per_dir_config,
+                                                   &core_module);
+#endif  
 
     flags = APR_CREATE | APR_WRITE | APR_READ | APR_BINARY | APR_BUFFERED | APR_EXCL | APR_TRUNCATE;
 #if APR_HAS_SENDFILE



Mime
View raw message