delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/08/14:07:02

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3A5A1015.415B8A68@reversion.ca>
Date: Mon, 08 Jan 2001 11:08:05 -0800
From: Craig Nelson <craig AT reversion DOT ca>
X-Mailer: Mozilla 4.08 [en] (X11; I; SunOS 5.8 i86pc)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019