cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Doesn't fwrite() return the number of objects written, not the number of bytes?

From: Jonathan Wallace <jwallace_at_livetechnology.com>
Date: Thu, 30 Jul 2009 11:15:46 -0400

Well, still. Even thought it was standardized, didn't mean very many
people used it. As you said, 2GB files were almost nonexistant.
Servers and databases may have had them, but not an average user.
Probably should be upgraded to use a 64 bit integer.

On Jul 30, 2009, at 11:09 AM, Mohun Biswas wrote:

> Jonathan Wallace wrote:
>> That does seem to be a fundamental flaw with the callback. curl is
>> 20 years old ...
>
> Actually 11, according to http://curl.haxx.se/docs/history.html,
> which was 2 years after large-file behavior was standardized (http://en.wikipedia.org/wiki/Large_file_support
> ). It's certainly true, though, that 2GB files were far less common
> back then.
>
> MB
>
Received on 2009-07-30