This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Support for largefile: stat() returns 32 bit value



Hi All, Just wondering if a future release will contain support for large files ie: size greater than
2GB..

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?

Thanks in advance.

Craig Nelson,
Cameo Systems Inc.




--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]