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