httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Graham Leggett" <minf...@sharp.fm>
Subject Re: [PATCH] mod_disk_cache fails to compile [Was: svn commit: r468373 - in /httpd/httpd/trunk: CHANGES modules/cache/mod_cache.c modules/cache/mod_cache.h modules/cache/mod_disk_cache.c modules/cache/mod_disk_cache.h modules/cache/mod_mem_cache.c]
Date Thu, 02 Nov 2006 11:00:29 GMT
On Thu, November 2, 2006 12:34 pm, Martin Kraemer wrote:

> Still, since 2 days, again mod_disk_cache fails to compile on
> platforms with sendfile (e.g., FreeBSD).

Is r468409 present in your tree?

Unfortunately I don't have a FreeBSD box, and so cannot reproduce the
problem. If you can send more details, I can get to the bottom of it -
"fails to compile" doesn't tell me anything useful.

Regards,
Graham
--

Index: modules/cache/mod_disk_cache.c
===================================================================
--- modules/cache/mod_disk_cache.c      (revision 468408)
+++ modules/cache/mod_disk_cache.c      (revision 468409)
@@ -720,6 +720,10 @@
     apr_time_t starttime = apr_time_now();
     int flags;
     apr_status_t rc;
+#if APR_HAS_SENDFILE
+    core_dir_config *pdconf = ap_get_module_config(r->per_dir_config,
+                                                   &core_module);
+#endif

     flags = APR_READ|APR_BINARY|APR_BUFFERED;
 #if APR_HAS_SENDFILE



Mime
View raw message