From owner-cvs-usrbin Sun Nov 10 00:30:29 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA23897 for cvs-usrbin-outgoing; Sun, 10 Nov 1996 00:30:29 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA23882; Sun, 10 Nov 1996 00:30:20 -0800 (PST) Date: Sun, 10 Nov 1996 00:30:20 -0800 (PST) From: Bruce Evans Message-Id: <199611100830.AAA23882@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrbin Subject: cvs commit: src/usr.bin/systat vmstat.c Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 96/11/10 00:30:20 Modified: usr.bin/systat vmstat.c Log: Initialize interrupt counters. The boot time values were displayed as ***. Should be in 2.2. Pointed out by: /etc/malloc.conf -> AJ Revision Changes Path 1.20 +1 -1 src/usr.bin/systat/vmstat.c From owner-cvs-usrbin Sun Nov 10 06:47:15 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA13508 for cvs-usrbin-outgoing; Sun, 10 Nov 1996 06:47:15 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA13476; Sun, 10 Nov 1996 06:46:57 -0800 (PST) Date: Sun, 10 Nov 1996 06:46:57 -0800 (PST) From: Peter Wemm Message-Id: <199611101446.GAA13476@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrbin Subject: cvs commit: src/usr.bin/fetch main.c Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 96/11/10 06:46:56 Modified: usr.bin/fetch main.c Log: Cosmetic bugfix. fetch was modifying it's argv[] strings in place, which caused ps(1) to show strange things.. Revision Changes Path 1.27 +6 -2 src/usr.bin/fetch/main.c From owner-cvs-usrbin Sun Nov 10 07:50:24 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA16524 for cvs-usrbin-outgoing; Sun, 10 Nov 1996 07:50:24 -0800 (PST) Received: (from paul@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA16475; Sun, 10 Nov 1996 07:49:54 -0800 (PST) Date: Sun, 10 Nov 1996 07:49:54 -0800 (PST) From: Paul Richards Message-Id: <199611101549.HAA16475@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrbin Subject: cvs commit: src/usr.bin/vi Makefile Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk paul 96/11/10 07:49:52 Modified: usr.bin/vi Makefile Log: Added a missing \ for installing perl modules. 2.2 and 2.1.6 candidate. Revision Changes Path 1.8 +2 -2 src/usr.bin/vi/Makefile From owner-cvs-usrbin Sun Nov 10 09:12:53 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA19826 for cvs-usrbin-outgoing; Sun, 10 Nov 1996 09:12:53 -0800 (PST) Received: from time.cdrom.com (time.cdrom.com [204.216.27.226]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id JAA19814; Sun, 10 Nov 1996 09:12:49 -0800 (PST) Received: from time.cdrom.com (localhost [127.0.0.1]) by time.cdrom.com (8.8.2/8.6.9) with ESMTP id JAA26670; Sun, 10 Nov 1996 09:12:50 -0800 (PST) To: Paul Richards cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-usrbin@freefall.freebsd.org Subject: Re: cvs commit: src/usr.bin/vi Makefile In-reply-to: Your message of "Sun, 10 Nov 1996 07:49:54 PST." <199611101549.HAA16475@freefall.freebsd.org> Date: Sun, 10 Nov 1996 09:12:50 -0800 Message-ID: <26668.847645970@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > paul 96/11/10 07:49:52 > > Modified: usr.bin/vi Makefile > Log: > Added a missing \ for installing perl modules. > 2.2 and 2.1.6 candidate. I don't think that the 2.1.6 vi even *has* perl modules. :-) Jordan From owner-cvs-usrbin Tue Nov 12 01:12:23 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id BAA05145 for cvs-usrbin-outgoing; Tue, 12 Nov 1996 01:12:23 -0800 (PST) Received: (from phk@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id BAA05038; Tue, 12 Nov 1996 01:11:55 -0800 (PST) Date: Tue, 12 Nov 1996 01:11:55 -0800 (PST) From: Poul-Henning Kamp Message-Id: <199611120911.BAA05038@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-user, cvs-share, cvs-sys, cvs-usrbin, cvs-gnu, cvs-usrsbin Subject: cvs commit: src/gnu/usr.bin/bc const.h storage.c src/sys/conf newvers.sh src/sys/gnu/ext2fs ext2_readwrite.c src/sys/i386/conf LINT files.i386 options.i386 src/sys/i386/i386 identcpu.c locore.s machdep.c pmap.c support.s userconfig.c src/sys/nfs nfs_bio.c nfs_syscalls.c src/sys/pc98/pc98 fd.c sio.c syscons.c src/sys/vm vm_page.c src/usr.bin/vi Makefile src/release Makefile doFS.sh src/share/doc/handbook porting.sgml ports.sgml src/sys/dev/aic7xxx aic7xxx.seq aic7xxx_reg.h src/sys/i386/eisa aic7770.c src/sys/i386/include specialreg.h src/sys/i386/isa ctx.c fd.c if_epreg.h if_zp.c lpt.c npx.c sio.c syscons.c syscons.h wd.c src/sys/i386/scsi aic7xxx.c aic7xxx.h btreg.h src/sys/pc98/conf files.pc98 src/sys/pci aic7870.c if_de.c src/sys/ufs/ffs ffs_inode.c src/usr.bin/fetch main.c src/usr.bin/systat vmstat.c src/usr.sbin/cron/cron config.h src/usr.sbin/ndc ndcedit.awk src/usr.sbin/slstat slstat.c Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk phk 96/11/12 01:11:53 Branch: gnu/usr.bin/bc RELENG_2_2 release RELENG_2_2 share/doc/handbook RELENG_2_2 sys/conf RELENG_2_2 sys/dev/aic7xxx RELENG_2_2 sys/gnu/ext2fs RELENG_2_2 sys/i386/conf RELENG_2_2 sys/i386/eisa RELENG_2_2 sys/i386/i386 RELENG_2_2 sys/i386/include RELENG_2_2 sys/i386/isa RELENG_2_2 sys/i386/scsi RELENG_2_2 sys/nfs RELENG_2_2 sys/pc98/conf RELENG_2_2 sys/pc98/pc98 RELENG_2_2 sys/pci RELENG_2_2 sys/ufs/ffs RELENG_2_2 sys/vm RELENG_2_2 usr.bin/fetch RELENG_2_2 usr.bin/systat RELENG_2_2 usr.bin/vi RELENG_2_2 usr.sbin/cron/cron RELENG_2_2 usr.sbin/ndc RELENG_2_2 usr.sbin/slstat RELENG_2_2 Modified: gnu/usr.bin/bc const.h storage.c release Makefile doFS.sh share/doc/handbook porting.sgml ports.sgml sys/conf newvers.sh sys/dev/aic7xxx aic7xxx.seq aic7xxx_reg.h sys/gnu/ext2fs ext2_readwrite.c sys/i386/conf LINT files.i386 options.i386 sys/i386/eisa aic7770.c sys/i386/i386 identcpu.c locore.s machdep.c pmap.c support.s userconfig.c sys/i386/include specialreg.h sys/i386/isa ctx.c fd.c if_epreg.h if_zp.c lpt.c npx.c sio.c syscons.c syscons.h wd.c sys/i386/scsi aic7xxx.c aic7xxx.h btreg.h sys/nfs nfs_bio.c nfs_syscalls.c sys/pc98/conf files.pc98 sys/pc98/pc98 fd.c sio.c syscons.c sys/pci aic7870.c if_de.c sys/ufs/ffs ffs_inode.c sys/vm vm_page.c usr.bin/fetch main.c usr.bin/systat vmstat.c usr.bin/vi Makefile usr.sbin/cron/cron config.h usr.sbin/ndc ndcedit.awk usr.sbin/slstat slstat.c Log: Mega-merge from -current Revision Changes Path 1.2.6.2 +3 -3 src/gnu/usr.bin/bc/const.h 1.2.6.2 +1 -1 src/gnu/usr.bin/bc/storage.c 1.246.2.5 +3 -3 src/release/Makefile 1.8.2.1 +0 -32 src/release/doFS.sh 1.32.2.3 +3 -3 src/share/doc/handbook/porting.sgml 1.16.2.1 +2 -2 src/share/doc/handbook/ports.sgml 1.26.2.2 +3 -3 src/sys/conf/newvers.sh 1.46.2.2 +23 -34 src/sys/dev/aic7xxx/aic7xxx.seq 1.15.2.1 +6 -2 src/sys/dev/aic7xxx/aic7xxx_reg.h 1.4.4.2 +2 -2 src/sys/gnu/ext2fs/ext2_readwrite.c 1.286.2.2 +43 -20 src/sys/i386/conf/LINT 1.141.2.2 +2 -2 src/sys/i386/conf/files.i386 1.26.2.3 +1 -5 src/sys/i386/conf/options.i386 1.34.2.1 +22 -16 src/sys/i386/eisa/aic7770.c 1.7.2.1 +1 -13 src/sys/i386/i386/identcpu.c 1.75.2.1 +35 -17 src/sys/i386/i386/locore.s 1.209.2.2 +6 -1 src/sys/i386/i386/machdep.c 1.128.2.3 +41 -18 src/sys/i386/i386/pmap.c 1.41.2.2 +112 -33 src/sys/i386/i386/support.s 1.63.2.3 +13 -7 src/sys/i386/i386/userconfig.c 1.9.2.1 +34 -1 src/sys/i386/include/specialreg.h 1.20.2.1 +4 -4 src/sys/i386/isa/ctx.c 1.92.2.2 +3 -3 src/sys/i386/isa/fd.c 1.17.2.1 +2 -2 src/sys/i386/isa/if_epreg.h 1.26.2.1 +2 -2 src/sys/i386/isa/if_zp.c 1.55.2.1 +4 -4 src/sys/i386/isa/lpt.c 1.31.2.1 +47 -13 src/sys/i386/isa/npx.c 1.147.2.2 +2 -2 src/sys/i386/isa/sio.c 1.182.2.3 +16 -8 src/sys/i386/isa/syscons.c 1.23.2.1 +2 -1 src/sys/i386/isa/syscons.h 1.119.2.1 +2 -2 src/sys/i386/isa/wd.c 1.81.2.2 +276 -279 src/sys/i386/scsi/aic7xxx.c 1.31.2.2 +61 -23 src/sys/i386/scsi/aic7xxx.h 1.3.6.1 +2 -2 src/sys/i386/scsi/btreg.h 1.28.2.2 +4 -4 src/sys/nfs/nfs_bio.c 1.14.2.2 +4 -4 src/sys/nfs/nfs_syscalls.c 1.9.2.2 +2 -2 src/sys/pc98/conf/files.pc98 1.7.2.2 +3 -3 src/sys/pc98/pc98/fd.c 1.8.2.2 +2 -2 src/sys/pc98/pc98/sio.c 1.13.2.2 +24 -24 src/sys/pc98/pc98/syscons.c 1.41.2.2 +73 -69 src/sys/pci/aic7870.c 1.54.2.1 +3 -1 src/sys/pci/if_de.c 1.21.2.2 +12 -12 src/sys/ufs/ffs/ffs_inode.c 1.69.2.2 +49 -49 src/sys/vm/vm_page.c 1.26.2.1 +6 -2 src/usr.bin/fetch/main.c 1.19.2.1 +1 -1 src/usr.bin/systat/vmstat.c 1.3.2.3 +9 -9 src/usr.bin/vi/Makefile 1.4.6.1 +3 -2 src/usr.sbin/cron/cron/config.h 1.1.2.2 +2 -2 src/usr.sbin/ndc/ndcedit.awk 1.6.2.2 +2 -2 src/usr.sbin/slstat/slstat.c From owner-cvs-usrbin Tue Nov 12 11:18:45 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA14612 for cvs-usrbin-outgoing; Tue, 12 Nov 1996 11:18:45 -0800 (PST) Received: (from jkh@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA14469; Tue, 12 Nov 1996 11:17:09 -0800 (PST) Date: Tue, 12 Nov 1996 11:17:09 -0800 (PST) From: "Jordan K. Hubbard" Message-Id: <199611121917.LAA14469@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrbin Subject: cvs commit: src/usr.bin/systat vmstat.c Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jkh 96/11/12 11:16:58 Modified: usr.bin/systat vmstat.c Log: Now that systat's working again, bring the vmstat cleanup over from -stable. Revision Changes Path 1.21 +14 -14 src/usr.bin/systat/vmstat.c From owner-cvs-usrbin Wed Nov 13 12:25:52 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA12990 for cvs-usrbin-outgoing; Wed, 13 Nov 1996 12:25:52 -0800 (PST) Received: (from phk@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA12973; Wed, 13 Nov 1996 12:25:48 -0800 (PST) Date: Wed, 13 Nov 1996 12:25:48 -0800 (PST) From: Poul-Henning Kamp Message-Id: <199611132025.MAA12973@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrbin Subject: cvs commit: src/usr.bin Makefile Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk phk 96/11/13 12:25:47 Branch: usr.bin RELENG_2_2 Modified: usr.bin Makefile Log: YAMFC Revision Changes Path 1.73.2.1 +3 -3 src/usr.bin/Makefile From owner-cvs-usrbin Wed Nov 13 23:06:52 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id XAA19565 for cvs-usrbin-outgoing; Wed, 13 Nov 1996 23:06:52 -0800 (PST) Received: (from ache@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id XAA19502; Wed, 13 Nov 1996 23:06:31 -0800 (PST) Date: Wed, 13 Nov 1996 23:06:31 -0800 (PST) From: "Andrey A. Chernov" Message-Id: <199611140706.XAA19502@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrbin Subject: cvs commit: src/usr.bin/fetch main.c Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 96/11/13 23:06:28 Modified: usr.bin/fetch main.c Log: Change to new ftpLogin interface Now clearly say: Not logged in instead of old: Broken pipe (note it was original reason for all my libftpio changes) Revision Changes Path 1.28 +8 -4 src/usr.bin/fetch/main.c From owner-cvs-usrbin Wed Nov 13 23:36:40 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id XAA20945 for cvs-usrbin-outgoing; Wed, 13 Nov 1996 23:36:40 -0800 (PST) Received: (from ache@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id XAA20928; Wed, 13 Nov 1996 23:36:29 -0800 (PST) Date: Wed, 13 Nov 1996 23:36:29 -0800 (PST) From: "Andrey A. Chernov" Message-Id: <199611140736.XAA20928@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrbin Subject: cvs commit: src/usr.bin/fetch main.c Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 96/11/13 23:36:28 Modified: usr.bin/fetch main.c Log: Report net connection error via hstrerror(h_errno) now instead of simple fact that can't connect Revision Changes Path 1.29 +3 -2 src/usr.bin/fetch/main.c From owner-cvs-usrbin Fri Nov 15 09:37:40 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA01942 for cvs-usrbin-outgoing; Fri, 15 Nov 1996 09:37:40 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA01867; Fri, 15 Nov 1996 09:36:35 -0800 (PST) Date: Fri, 15 Nov 1996 09:36:35 -0800 (PST) From: Peter Wemm Message-Id: <199611151736.JAA01867@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrbin Subject: cvs commit: src/usr.bin/chpass edit.c Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 96/11/15 09:36:25 Modified: usr.bin/chpass edit.c Log: pw_scan() was being used to convert a string into a struct passwd, with an auto stack variable that was about to disappear. It broke with some nis passwd changes because of a gethostbyname() call that uses a fair bit of stack.. This was a timebomb waiting to go off at any time and could have been causing subtle corruption for a while. AARGH!! This is HIGHLY reccomended for 2.2 and presumably 2.1.6 Revision Changes Path 1.9 +1 -1 src/usr.bin/chpass/edit.c From owner-cvs-usrbin Fri Nov 15 10:14:30 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA05076 for cvs-usrbin-outgoing; Fri, 15 Nov 1996 10:14:30 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA04893; Fri, 15 Nov 1996 10:13:05 -0800 (PST) Date: Fri, 15 Nov 1996 10:13:05 -0800 (PST) From: Peter Wemm Message-Id: <199611151813.KAA04893@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrbin Subject: cvs commit: src/usr.bin/chpass edit.c Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 96/11/15 10:12:53 Branch: usr.bin/chpass RELENG_2_2 Modified: usr.bin/chpass edit.c Log: bring in rev 1.8 from -current, don't return pointers to a non-static stack variable.. causes random chpass failures in some circumstances. Revision Changes Path 1.8.2.1 +1 -1 src/usr.bin/chpass/edit.c From owner-cvs-usrbin Fri Nov 15 10:58:15 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA08238 for cvs-usrbin-outgoing; Fri, 15 Nov 1996 10:58:15 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA08200; Fri, 15 Nov 1996 10:57:42 -0800 (PST) Date: Fri, 15 Nov 1996 10:57:42 -0800 (PST) From: Peter Wemm Message-Id: <199611151857.KAA08200@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrbin Subject: cvs commit: src/usr.bin/chpass edit.c Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 96/11/15 10:57:39 Branch: usr.bin/chpass RELENG_2_1_0 Modified: usr.bin/chpass edit.c Log: Bring in rev 1.8 (don't accumulate unnecessary commas at the end of the gecos string) and rev 1.9 (don't return pointers to strings on the stack in struct passwd). Revision Changes Path 1.4.4.4 +4 -1 src/usr.bin/chpass/edit.c From owner-cvs-usrbin Sat Nov 16 16:23:02 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA29601 for cvs-usrbin-outgoing; Sat, 16 Nov 1996 16:23:02 -0800 (PST) Received: (from joerg@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA29584; Sat, 16 Nov 1996 16:22:55 -0800 (PST) Date: Sat, 16 Nov 1996 16:22:55 -0800 (PST) From: Joerg Wunsch Message-Id: <199611170022.QAA29584@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrbin Subject: cvs commit: src/usr.bin/sed main.c Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk joerg 96/11/16 16:22:55 Modified: usr.bin/sed main.c Log: Fix the C programmer's bug #1: EOF is of type `int', not `char'. Strong 2.2 candidate. Submitted by: wosch Revision Changes Path 1.4 +2 -6 src/usr.bin/sed/main.c From owner-cvs-usrbin Sat Nov 16 16:56:30 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA01365 for cvs-usrbin-outgoing; Sat, 16 Nov 1996 16:56:30 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id QAA01356; Sat, 16 Nov 1996 16:56:24 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.7.6/8.6.9) id LAA00766; Sun, 17 Nov 1996 11:53:12 +1100 Date: Sun, 17 Nov 1996 11:53:12 +1100 From: Bruce Evans Message-Id: <199611170053.LAA00766@godzilla.zeta.org.au> To: 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 Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Modified: usr.bin/sed main.c > Log: > 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. Bruce From owner-cvs-usrbin Sat Nov 16 18:16:50 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA13416 for cvs-usrbin-outgoing; Sat, 16 Nov 1996 18:16:50 -0800 (PST) Received: (from wosch@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA13348; Sat, 16 Nov 1996 18:16:37 -0800 (PST) Date: Sat, 16 Nov 1996 18:16:37 -0800 (PST) From: Wolfram Schneider Message-Id: <199611170216.SAA13348@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrbin Subject: cvs commit: src/usr.bin/sed main.c Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wosch 96/11/16 18:16:36 Modified: usr.bin/sed main.c Log: fix C programmer's bug number 12.2 submitted by: bruce Revision Changes Path 1.5 +8 -3 src/usr.bin/sed/main.c 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. ;-) From owner-cvs-usrbin Sat Nov 16 19:55:26 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id TAA24452 for cvs-usrbin-outgoing; Sat, 16 Nov 1996 19:55:26 -0800 (PST) Received: from mail.cs.tu-berlin.de (root@mail.cs.tu-berlin.de [130.149.17.13]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id TAA24428; Sat, 16 Nov 1996 19:54:55 -0800 (PST) Received: from campa.panke.de (anonymous213.ppp.cs.tu-berlin.de [130.149.17.213]) by mail.cs.tu-berlin.de (8.6.13/8.6.12) with ESMTP id EAA14966; Sun, 17 Nov 1996 04:50:31 +0100 Received: (from wosch@localhost) by campa.panke.de (8.6.12/8.6.12) id EAA02826; Sun, 17 Nov 1996 04:50:23 +0100 Date: Sun, 17 Nov 1996 04:50:23 +0100 From: Wolfram Schneider Message-Id: <199611170350.EAA02826@campa.panke.de> To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) Cc: bde@zeta.org.au (Bruce Evans), 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 In-Reply-To: <199611170250.DAA09732@uriah.heep.sax.de> References: <199611170053.LAA00766@godzilla.zeta.org.au> <199611170250.DAA09732@uriah.heep.sax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk J. Wunsch writes: >> 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. The reference is in my private mail box, as Bruce wrote. Wolfram From owner-cvs-usrbin Sat Nov 16 20:17:36 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA25510 for cvs-usrbin-outgoing; Sat, 16 Nov 1996 20:17:36 -0800 (PST) Received: from rover.village.org (rover.village.org [204.144.255.49]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id UAA25488; Sat, 16 Nov 1996 20:16:44 -0800 (PST) Received: from rover.village.org [127.0.0.1] by rover.village.org with esmtp (Exim 0.56 #1) id E0vOydh-0001ZR-00; Sat, 16 Nov 1996 21:15:25 -0700 To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) Subject: Re: cvs commit: src/usr.bin/sed main.c Cc: bde@zeta.org.au (Bruce Evans), cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-usrbin@freefall.freebsd.org, joerg@freefall.freebsd.org In-reply-to: Your message of "Sun, 17 Nov 1996 03:50:18 +0100." <199611170250.DAA09732@uriah.heep.sax.de> References: <199611170250.DAA09732@uriah.heep.sax.de> Date: Sat, 16 Nov 1996 21:15:25 -0700 From: Warner Losh Message-Id: Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk In message <199611170250.DAA09732@uriah.heep.sax.de> J Wunsch writes: : As Bruce Evans wrote: : > 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. feof is true as soon as the file gets to the end of the file. You needn't read the EOF for feof() to be true. In Pascal, that was the case, but not in C... Warner From owner-cvs-usrbin Sat Nov 16 23:52:12 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id XAA02895 for cvs-usrbin-outgoing; Sat, 16 Nov 1996 23:52:12 -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 XAA02838; Sat, 16 Nov 1996 23:51:46 -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 IAA09095; Sun, 17 Nov 1996 08:51:44 +0100 Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id IAA24013; Sun, 17 Nov 1996 08:51:43 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.8.2/8.6.9) id IAA11061; Sun, 17 Nov 1996 08:48:01 +0100 (MET) From: J Wunsch Message-Id: <199611170748.IAA11061@uriah.heep.sax.de> Subject: Re: cvs commit: src/usr.bin/sed main.c To: wosch@cs.tu-berlin.de (Wolfram Schneider) Date: Sun, 17 Nov 1996 08:48:01 +0100 (MET) 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 Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199611170350.EAA02826@campa.panke.de> from Wolfram Schneider at "Nov 17, 96 04:50:23 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 Wolfram Schneider wrote: > >> 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. > > 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. ;-)