lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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
work.

Tony.
-- 
f.a.n.finch  <dot@dotat.at>  http://dotat.at/
IRISH SEA: SOUTHERLY, BACKING NORTHEASTERLY FOR A TIME, 3 OR 4. SLIGHT OR
MODERATE. SHOWERS. MODERATE OR GOOD, OCCASIONALLY POOR.