delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/09/14/16:01:59

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: Tue, 14 Sep 2004 16:03:23 -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: <20040914200322.GE5258@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> <41472B3F DOT 8030800 AT agilent DOT com> <414749A7 DOT 809 AT agilent DOT com>
Mime-Version: 1.0
In-Reply-To: <414749A7.809@agilent.com>
User-Agent: Mutt/1.4.1i

On Tue, Sep 14, 2004 at 12:42:31PM -0700, Earl Chew wrote:
>Christopher Faylor wrote:
>>Let me again point out that a cygwin program shouldn't be doing *ANY OF
>>THIS*.
>>
>>It shouldn't be calling GetFileSize and it shouldn't be calling
>>CreateFile.
>
>I think part of the original motivation might have been that under
>some circumstances this set of programs needs to be used on
>drive partitions as opposed to files within those partitions.
>
>At that time there may have been no way within Cygwin to size
>a partition (statfs()?).

Cygwin has had statfs since 1997.

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