delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/09/13/10:42:25

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
Date: Mon, 13 Sep 2004 10:43:29 -0400
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: BUG: Bad call to GetFileSze in ext2fsprogs lib/ext2fs/getsize.c
Message-ID: <20040913144329.GD11668@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <414532D7 DOT 8050506 AT agilent DOT com>
Mime-Version: 1.0
In-Reply-To: <414532D7.8050506@agilent.com>
User-Agent: Mutt/1.4.1i

On Sun, Sep 12, 2004 at 10:40:39PM -0700, Earl Chew wrote:
>The call to GetFileSize() doesn't match the Microsoft documentation,
>and invariably mis-sizes the disk image as zero.

That's odd.  Why would a cygwin program be calling GetFileSize?  e2fsprogs
should be using statfs and stat.

cgf

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