Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Nov 1996 03:50:18 +0100 (MET)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        bde@zeta.org.au (Bruce Evans)
Cc:        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:  <199611170250.DAA09732@uriah.heep.sax.de>
In-Reply-To: <199611170053.LAA00766@godzilla.zeta.org.au> from Bruce Evans at "Nov 17, 96 11:53:12 am"

next in thread | previous in thread | raw e-mail | index | archive | help
As Bruce Evans wrote:

> >  Fix the C programmer's bug #1: EOF is of type `int', not `char'.
> >  
> >  Strong 2.2 candidate.
> >  
> >  Submitted by:	wosch
> 
> 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.

-- 
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?199611170250.DAA09732>