apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject apr_strfsize cannot handle sizes bigger than a few MiBs without largefiles support
Date Tue, 29 Jan 2002 18:39:14 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
http://stason.org/      mod_perl Guide   http://perl.apache.org/guide
mailto:stas@stason.org  http://ticketmaster.com http://apacheweek.com
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/


Mime
View raw message