In a recent note, David Woolley said:
> Date: Fri, 14 Jan 2005 07:31:09 +0000 (GMT)
>
> Most operating systems have a file size limit of 2GB. That's certainly
> true of the Linux versions that I have used. It comes from using
> signed integers for the lseek function, etc.
>
Macintosh OS X, OTOH, got it right from the start:
506 $ grep fpos_t /usr/include/stdio.h
typedef off_t fpos_t;
typedef int64_t fpos_t;
> Nowadays, they often have a special mode in which file positions are given
> in blocks, rather than bytes, but that requires special I/O systems calls
>
Of course, this means that special mode is probably not portable to OS X.
And I had trouble trying to build GNU findutils on OS X because that code
sometimes moves an off_t temporarily through a 32-bit integer.
-- gil
--
StorageTek
INFORMATION made POWERFUL
_______________________________________________
Lynx-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lynx-dev