BUG: Bad call to GetFileSze in ext2fsprogs lib/ext2fs/getsize.c

Christopher Faylor cgf-no-personal-reply-please@cygwin.com
Mon Sep 13 14:43:00 GMT 2004


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/



More information about the Cygwin mailing list