delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/12/14/08:41:12

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 Dec 2004 08:43:05 -0500
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
Subject: Re: short fread(), but no ferror/feof
Message-ID: <20041214134305.GA2260@tishler.net>
Mail-Followup-To: Jeff Johnston <jjohnstn AT redhat DOT com>, Peter Astrand <astrand AT lysator DOT liu DOT se>, cygwin AT cygwin DOT com, newlib AT sources DOT redhat DOT com
References: <Pine DOT GSO DOT 4 DOT 51L2 DOT 0412051701370 DOT 21199 AT koeberg DOT lysator DOT liu DOT se> <Pine DOT GSO DOT 4 DOT 51L2 DOT 0412112312480 DOT 19131 AT koeberg DOT lysator DOT liu DOT se> <41BDF3A0 DOT 6020909 AT redhat DOT com>
Mime-Version: 1.0
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019