delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/12/06/06:08:23

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <41B43E59.8E8E190C@dessent.net>
Date: Mon, 06 Dec 2004 03:11:21 -0800
From: Brian Dessent <brian AT dessent DOT net>
Organization: My own little world...
MIME-Version: 1.0
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: Re: find prints wrong file size for files >2GB
References: <41B43182 DOT 9AEE4F96 AT hot DOT pl>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com

Jacek Trzmiel wrote:

> $ ls -l aaa
> -rw-r--r--    1 sc0rp    None     4700000000 Dec  6 10:54 aaa
> 
> $ find ./aaa -printf "%10s  %p\n"
>  405032704  ./aaa

GNU findutils does have largefile support as of 4.1.5.  See
<http://lists.gnu.org/archive/html/bug-findutils/2004-07/msg00012.html>. 
There is a configure test to see if off_t can represent a 64 bit value,
which should set the _FILE_OFFSET_BITS define correctly.

However, the timestamp on Cygwin's findutils package is 19-May-2002,
which was before Cygwin 1.5.0 was released (10-Jul-2003), which was the
first version to include 64bit file io support.  Thus it may just be
that findutils needs to be rebuilt with a recent cygwin1.dll to enable
this support in the code.  It may even be a good idea to refresh the
package to the current upstream which appears to be 4.2.9 at
<ftp://alpha.gnu.org/gnu/findutils/>.

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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