cURL / Mailing Lists / curl-users / Single Mail

curl-users

incoherent curl_off_t size

From: Ranger, Jean-Marc <jeanmarc.ranger_at_smisrd.com>
Date: Mon, 20 Dec 2004 15:04:25 -0500

Hi,

Another quick one, which once again I don't really have time to fully
diagnose.

We're using 7.12.2, cross-compiled for MIPS (linux uClibc) on I386.

Problem is sizeof(curl_off_t), which is 8 for the compiled library, but 4
for the application. From what we found, _FILE_OFFSET_BIT is set to 64 when
compiling the library, but the information isn't stored anywhere that the
application can find.

Jean-Marc Ranger
Ingénieur logiciel / Software Engineer
SMIS R&D inc.
3100 Industriel
Sherbrooke, Québec
Canada J1L 1V8
Tel (819) 829-5120 ext 4242
Fax (819) 829-1133
Received on 2004-12-21