Re: [AD] bugfix for files > 2GB under unix |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: alleg-developers@xxxxxxxxxx
- Subject: Re: [AD] bugfix for files > 2GB under unix
- From: Chris <chris.kcat@xxxxxxxxxx>
- Date: Sun, 21 May 2006 16:54:30 -0700
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:to:subject:date:user-agent:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=tw6l6U1SUGREVbYksgsC/795l4qFC3W2R+AahSkGZjqgM+P4jlUbELi9RQynPtPXYRpyusxuDfOZ7F+Tt6DJDfo1cX9YBvS/WI33IlN0mbcuDE6c20pFPIoW9MGHe0w0R148VxDsQpWerd/RpFTOyKHo+uLSk996w5zfKFR74Bs=
On Sunday 21 May 2006 13:26, Peter Hull wrote:
> OSX doesn't (AFAICS) have stat64, but the file size field of struct
> stat is defined as off_t, which is 64-bit.
Not on 32-bit systems by default. According to my man pages:
The library routine lseek() uses the type off_t. This is a 32-bit signed
type on 32-bit architectures, unless one compiles with
#define _FILE_OFFSET_BITS 64
in which case it is a 64-bit signed type.