This is the mail archive of the
mailing list for the Cygwin project.
Re: cygwin-1.5.0-1: Problem stat-ing big file
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 10 Jul 2003 13:35:37 +0200
- Subject: Re: cygwin-1.5.0-1: Problem stat-ing big file
- References: <3F0D4D6A.firstname.lastname@example.org>
- Reply-to: cygwin at cygwin dot com
On Thu, Jul 10, 2003 at 01:26:34PM +0200, Markus Sch?nhaber wrote:
> While trying if the new support for files larger than 2GB works, I
> created a file with a size of 4.53 GB (4,869,120,000 Bytes) using a
> simple write in python. No problems here. But when stat-ing the file
> with python's os.stat or by calling stat from C as done in the little
> program below, the size of the file gets reported as 574,152,704 Bytes.
The changes to 64 bit file access are not propagated automatically to
existing applications. E.g. the current `ls' from the fileutils
package is compiled with the old (small) stat structure which only
has 32 bit off_t for the file size. If you want to actually use the
new struct stat and off_t with 64 bit, you have to recompile the
Sorry, but there's no way around that.
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:email@example.com
Red Hat, Inc.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html