You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Justin Erenkrantz <ju...@erenkrantz.com> on 2005/08/23 21:05:13 UTC

Re: svn commit: r239436 - /httpd/httpd/trunk/support/htcacheclean.c

--On August 23, 2005 5:03:03 PM +0000 colm@apache.org wrote:

> Add APR_FOPEN_BINARY to the options passed to apr for opening the
> cache header files.

Why?  -- justin

Re: svn commit: r239436 - /httpd/httpd/trunk/support/htcacheclean.c

Posted by Justin Erenkrantz <ju...@erenkrantz.com>.
--On August 23, 2005 8:18:44 PM +0100 Colm MacCarthaigh <co...@stdlib.net> 
wrote:

> Because mod_disk_cache uses;
>
> 	APR_CREATE | APR_WRITE | APR_BINARY | APR_EXCL
>
> when creating them, see inside store_headers at mod_disk_cache.c:892

It would have been helpful if you had noted that in the log message.

> I'm trying to get htcacheclean working on Win32, where it matters :-)

Ha!  ;-)  -- justin

Re: svn commit: r239436 - /httpd/httpd/trunk/support/htcacheclean.c

Posted by Colm MacCarthaigh <co...@stdlib.net>.
On Tue, Aug 23, 2005 at 12:05:13PM -0700, Justin Erenkrantz wrote:
> --On August 23, 2005 5:03:03 PM +0000 colm@apache.org wrote:
> 
> >Add APR_FOPEN_BINARY to the options passed to apr for opening the
> >cache header files.
> 
> Why?  

Because mod_disk_cache uses; 

	APR_CREATE | APR_WRITE | APR_BINARY | APR_EXCL

when creating them, see inside store_headers at mod_disk_cache.c:892

I'm trying to get htcacheclean working on Win32, where it matters :-)

-- 
Colm MacCárthaigh                        Public Key: colm+pgp@stdlib.net