delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/04/18/17:36:31

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
X-Apparently-From: <earnie?boyd AT yahoo DOT com>
Message-ID: <3ADE0859.C85E3AE9@yahoo.com>
Date: Wed, 18 Apr 2001 17:34:17 -0400
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: Cygwin Users <cygwin AT cygwin DOT com>
X-Mailer: Mozilla 4.76 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: jheyman AT dev DOT tivoli DOT com
CC: cygwin AT cygwin DOT com
Subject: Re: sizes with du.exe (fileutils 4.0-3)
References: <200104181837 DOT NAA03721 AT devmail DOT dev DOT tivoli DOT com>

"(Jerry Heyman)" wrote:
> 
> Howdy,
> 
> I'm new to the list, and have the following situation:
> 
> . Product version of the Cgynus Toolkit is installed.
> . We noticed a problem with the du executable from fileutils 3.16
>   returning negative numbers on files > 2G
> . Downloaded the fileutils-4.0 from ftp.gnu.org and built them
>   results were better but only seemed to report half the actual value
> . Searched the Cygwin e-mail archives and found a fix for sizing problem
>   in fileutils-4.0-3.
> . Downloaded the source fileutils-4.0-3 from cygwin.com
>   results were much better, but the following is still occurring
> 
> $ ls -l du.exe
> -rwxrwxrwx   1 administ Administ   443705 Apr 13 13:55  du.exe
> 
> du (3.16):
> $ du -b du.exe
> 443705  du.exe
> 

This is the correct size in bytes for the 3.16 version.

> du (4.0):
> $ ./du -b du.exe
> 222208  du.exe
> 

This is 1/2 the size in bytes for the 4.0 version.

> du (4.0-3):
> $ ./du403 -b du.exe
> 444416  du.exe
> 

This is the correct size in bytes for the 4.0-3 version.

> Do I need a newer version of the Cygwin1.dll to get the same answer
> on the number of bytes as I get from the 3.16 version??
> 

No, you would need version 3.16 of du.exe to get the same number of
bytes.

Earnie.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
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