cURL / Mailing Lists / curl-library / Single Mail


Re: Helping apps use 64bit with libcurl

From: Yang Tse <>
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 and Jan 2004 might give the answer.

Received on 2008-05-27