From: "Stas Bekman" <[EMAIL PROTECTED]>
Sent: Tuesday, January 29, 2002 12:39 PM


> apr_strfsize accepts the size arg as apr_off_t, so unless apache it
> built with largefiles support, apr_off_t == long int, which means that
> apr_strfsize is unusable for sizes bigger than a few MiBs.

This is correct.  If the platform supports LARGEFILES, then it better
danged well say so and own up to the responsibilities of implementing
them in APR (seek, etc - all supporting apr_off_t sized jumps).

> I've checked mod_autoindex, and it has this problem too as it uses
> apr_off_t for its size and feeds it to apr_strfsize.

That is correct.

> should apr_strftime be changed to use a type that can always hold a
> bigger number?

-1.

Reply via email to