file too large
Alastair Reid
alastair@reid-consulting-uk.ltd.uk
Fri, 9 May 2003 14:43:58 +0100
=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
man 2 open describes O_LARGEFILE as follows:
O_LARGEFILE: On 32-bit systems that support the Large Files System, allow=20
files whose sizes cannot be represented in 31 bits to be opened.
I'm slightly puzzled about why you would need to specify this flag. That is=
,=20
why would it not just go ahead and open the file anyway?
My best guess is that you are promising that all indexes into the file will=
be=20
64 bit (unsigned?) ints and not a 32 bit unsigned int. In other words, it'=
s=20
a backward compatability feature with a little typechecking thrown in.
=2D --
Alastair Reid
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+u7CebLKSuD/RJBMRAlD4AJ9nTVio+CoXquE9UtUAUKO5iAEbUQCeK9Ls
j1W7OYAmlnMi8p+EdxFDTAo=3D
=3Dyjva
=2D----END PGP SIGNATURE-----