This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: Support for largefile: stat() returns 32 bit value
- To: cygwin at cygwin dot com
- Subject: Re: Support for largefile: stat() returns 32 bit value
- From: Christopher Faylor <cgf at redhat dot com>
- Date: Mon, 8 Jan 2001 14:26:13 -0500
- References: <3A5A1015.415B8A68@reversion.ca>
- Reply-To: cygwin at cygwin dot com
On Mon, Jan 08, 2001 at 11:08:05AM -0800, Craig Nelson wrote:
>Hi All, Just wondering if a future release will contain support for
>large files ie: size greater than 2GB..
There are no plans to do this, no. As always, we are not adverse to
contributions, though.
>The stat() function call uses a "struct stat" (defined in stat.h). This st_size field is declared as
>an off_t and sizeof() reports that is a 4 byte quantity. As such, single files larger than 2GB show an
>invalid value for the st_size field.
>
>Is there a short term workaround for this?
Not that I know of, no.
cgf
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple