[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Handling files >=2GiB with the io library
- From: Tony Finch <dot@...>
- Date: Mon, 10 Sep 2007 19:21:12 +0100
On Sun, 9 Sep 2007, Duck wrote:
> In other words, is it enough to "bigfileify" the io library by changing _only_
> the f_seek() function in libiolib.c like this: [...]
> Or do you need to compile everything with _FILE_OFFSET_BITS = 64 in order to
> get FILE* objects to tolerate being operated upon with 64-bit offsets?
Many functions in the API are switched by the preprocessor when you
compile with _FILE_OFFSET_BITS = 64 so I wouldn't expect your hack to
f.a.n.finch <email@example.com> http://dotat.at/
IRISH SEA: SOUTHERLY, BACKING NORTHEASTERLY FOR A TIME, 3 OR 4. SLIGHT OR
MODERATE. SHOWERS. MODERATE OR GOOD, OCCASIONALLY POOR.