We need to make sure that we're not using bigger values that what we're using
internally anyway. After all, if when all is said and done, we only
"honor" long in ranges, then supporting long longs sporadically
doesn't make full sense. But I'm +1 on looking into this.!
--
=
* Wilfredo Sanchez ([EMAIL PROTECTED]) wrote :
> There are several places in HTTPD where we use atol to parse ranges from
> HTTP headers. Problem (at least on Darwin) is that a long is smaller
> than size_t, and we're unable to handle large files in the 2-4GB range.
>
On Wed, Jul 24, 2002 at 10:45:40AM -0400, Wilfredo Sanchez wrote:
> 1- Is adding apr_strtoll kosher?
+1.
> 2- Should I also add apr_strtoll for completeness?
+1. -- justin
There are several places in HTTPD where we use atol to parse ranges from HTTP
headers. Problem (at least on Darwin) is that a long is smaller than size_t, and
we're unable to handle large files in the 2-4GB range.
atol is the same as calling strtol with NULL and 10 as the last to