cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Largefile feature

From: Yang Tse <yangsita_at_gmail.com>
Date: Tue, 26 Aug 2008 21:58:59 +0200

2008/8/26, Dan Fandrich wrote:

> So, what does the "Largefile" feature now mean in curl?

The capability that curl (the tool) has to read, write and transfer
files larger than 2Gb.

> 64-bit curl_off_t or 64-bit off_t?

Both are required to perform the three actions described above.

> In the past, it would have been useful to know if the application should
> be trying to enable LFS in order to match the way that libcurl was
> compiled. Now, maybe there's nothing an app can do with that
> information any more.

I highly suspect that an app that uses libcurl and provides its own
read, write or seek callbacks should be compiled with the same LFS
settings as libcurl.

If the app does not provide its own read, write or seek callbacks, the
app might probably use whatever LFS setting the app wishes. But it is
not absolutely clear that this can always be done on all systems.

So we should listen very carefully to what others have to say or
report on this matter.

-- 
-=[Yang]=-
Received on 2008-08-26