This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Re: short fread(), but no ferror/feof
- From: Jason Tishler <jason at tishler dot net>
- To: Jeff Johnston <jjohnstn at redhat dot com>
- Cc: Peter Astrand <astrand at lysator dot liu dot se>, cygwin at cygwin dot com,newlib at sources dot redhat dot com
- Date: Tue, 14 Dec 2004 08:43:05 -0500
- Subject: Re: short fread(), but no ferror/feof
- References: <Pine.GSO.4.51L2.0412051701370.21199@koeberg.lysator.liu.se> <Pine.GSO.4.51L2.0412112312480.19131@koeberg.lysator.liu.se> <41BDF3A0.6020909@redhat.com>
Jeff,
On Mon, Dec 13, 2004 at 02:55:12PM -0500, Jeff Johnston wrote:
> Regardless, the behavior is wrong. The same test on a buffered file
> yields the EOF.
>
> I have posted a patch.
Thanks for the patch. I have confirmed it resolves the following Cygwin
Python problem:
http://sf.net/tracker/?func=detail&aid=1071516&group_id=5470&atid=105470
Jason
--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6