This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: BUG: Bad call to GetFileSze in ext2fsprogs lib/ext2fs/getsize.c
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/