cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Helping apps use 64bit with libcurl

From: Yang Tse <yangsita_at_gmail.com>
Date: Tue, 27 May 2008 21:21:33 +0200

2008/5/27, Jamie Lokier wrote:

> > > Well, curl_off_t SHOULD match the "file offset" type on all systems
> > > whatever the size. Everything else is an error, and while we should
> > > do our best to survive that situation as well it should still be rare.
> >
> > This is the crystal clear statement that I was awaiting in the whole thread.
>
> It reminds me: why _is_ there a curl_off_t? Why doesn't curl simply
> use off_t, since they are always supposed to be the same for any given
> compile, aren't they?

I'm currently unable to answer this.

Some message archeology around Dec 2003
http://curl.haxx.se/mail/lib-2003-12/ and Jan 2004
http://curl.haxx.se/mail/lib-2004-01/ might give the answer.

-- 
-=[Yang]=-
Received on 2008-05-27