Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Nov 1996 08:48:01 +0100 (MET)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        wosch@cs.tu-berlin.de (Wolfram Schneider)
Cc:        joerg_wunsch@uriah.heep.sax.de, bde@zeta.org.au, cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-usrbin@freefall.freebsd.org, joerg@freefall.freebsd.org
Subject:   Re: cvs commit:  src/usr.bin/sed main.c
Message-ID:  <199611170748.IAA11061@uriah.heep.sax.de>
In-Reply-To: <199611170350.EAA02826@campa.panke.de> from Wolfram Schneider at "Nov 17, 96 04:50:23 am"

next in thread | previous in thread | raw e-mail | index | archive | help
As Wolfram Schneider wrote:

> >> Erm, as I told the submitter, this introduces C programmer's bug
> >> #<a bit larger than 1>: feof() is not valid until EOF has been read.
> >
> >Huh?  I can't find any reference claiming this.
> 
> The reference is in my private mail box, as Bruce wrote.

Nope, my question was which standard claims that feof() could return
wrong results after a successful fopen() but before reaching the EOF
of the stream.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199611170748.IAA11061>