Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Tue, 14 Dec 2004 08:43:05 -0500
From: Jason Tishler <jason@tishler.net>
To: Jeff Johnston <jjohnstn@redhat.com>
Cc: Peter Astrand <astrand@lysator.liu.se>, cygwin@cygwin.com,
   newlib@sources.redhat.com
Subject: Re: short fread(), but no ferror/feof
Message-ID: <20041214134305.GA2260@tishler.net>
Mail-Followup-To: Jeff Johnston <jjohnstn@redhat.com>, Peter Astrand <astrand@lysator.liu.se>, cygwin@cygwin.com, newlib@sources.redhat.com
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>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <41BDF3A0.6020909@redhat.com>
User-Agent: Mutt/1.4.1i
X-IsSubscribed: yes

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

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

