From owner-cvs-usrbin Sat Nov 16 18:52:41 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA20246 for cvs-usrbin-outgoing; Sat, 16 Nov 1996 18:52:41 -0800 (PST) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id SAA20190; Sat, 16 Nov 1996 18:52:06 -0800 (PST) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id DAA03376; Sun, 17 Nov 1996 03:52:03 +0100 Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id DAA21422; Sun, 17 Nov 1996 03:52:02 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.8.2/8.6.9) id DAA09732; Sun, 17 Nov 1996 03:50:19 +0100 (MET) From: J Wunsch Message-Id: <199611170250.DAA09732@uriah.heep.sax.de> Subject: Re: cvs commit: src/usr.bin/sed main.c To: bde@zeta.org.au (Bruce Evans) Date: Sun, 17 Nov 1996 03:50:18 +0100 (MET) Cc: cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-usrbin@freefall.freebsd.org, joerg@freefall.freebsd.org Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199611170053.LAA00766@godzilla.zeta.org.au> from Bruce Evans at "Nov 17, 96 11:53:12 am" X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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 > #: 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. ;-)