perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <>
Subject apr_strfsize cannot handle sizes bigger than a few MiBs without largefiles support
Date Tue, 29 Jan 2002 18:34:21 GMT
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.

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.

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

Stas Bekman             JAm_pH      --   Just Another mod_perl Hacker      mod_perl Guide

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message