Re: how to use lseek() system call with over 2G files?

2004-01-06 Thread Dan Nelson
In the last episode (Jan 06), Scott W said: > Lowell Gilbert wrote: > > off_t has *never* been anything but 64-bit in FreeBSD. > > This is interesting, having had to deal with the LARGEFILE_64_SOURCE > and _LP64 'hacks' (llseek(), creat64(), etc etc...back in Solaris > from 2.6 on, which seem to st

Re: how to use lseek() system call with over 2G files?

2004-01-06 Thread Scott W
Lowell Gilbert wrote: Dan Nelson <[EMAIL PROTECTED]> writes: In the last episode (Jan 06), Alex said: Hi everybody! Some time ago there wasn't any possibility to create disk file larger than 2G and there was no problem with lseek(). Some time ago meaning around 1997? FreeBSD has

Re: how to use lseek() system call with over 2G files?

2004-01-06 Thread Lowell Gilbert
Dan Nelson <[EMAIL PROTECTED]> writes: > In the last episode (Jan 06), Alex said: > > Hi everybody! > > > > Some time ago there wasn't any possibility to create disk file larger > > than 2G and there was no problem with lseek(). > > Some time ago meaning around 1997? FreeBSD has had 64-bit fil

Re: how to use lseek() system call with over 2G files?

2004-01-06 Thread Erik Trulsson
On Tue, Jan 06, 2004 at 08:32:23PM +0300, Alex wrote: > Hi everybody! > > Some time ago there wasn't any possibility to create disk file larger > than 2G and there was no problem with lseek(). > But as for now we can do it but I looked into headers and found off_t is > equal to long -> no more t

Re: how to use lseek() system call with over 2G files?

2004-01-06 Thread Dan Nelson
In the last episode (Jan 06), Alex said: > Hi everybody! > > Some time ago there wasn't any possibility to create disk file larger > than 2G and there was no problem with lseek(). Some time ago meaning around 1997? FreeBSD has had 64-bit file access since at least 2.2.0. I don't remember if ea