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

Re: linux 2.3/4 and large files

At 12:30 +0100 1999-12-01, Goswin Brederlow wrote:
>The code should be changed to use llseek on 32 Bit linux systems (if
>llseek is present), which uses two 32 Bit values to specify the offset
>and also reports back the size as a struct with 2 longs.

No it shouldn't, llseek is horribly evil, any new code should be using
lseek64 or lseek with __FILE_OFFSET_BITS=64 defined.
Joel Klecker (aka Espy)                    Debian GNU/Linux Developer
<URL:mailto:jk@espy.org>                 <URL:mailto:espy@debian.org>
<URL:http://web.espy.org/>               <URL:http://www.debian.org/>

Reply to: