From owner-cvs-usrbin Mon Feb 26 14:46:42 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA23902 for cvs-usrbin-outgoing; Mon, 26 Feb 1996 14:46:42 -0800 (PST) Received: (from wosch@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA23887 Mon, 26 Feb 1996 14:46:38 -0800 (PST) Date: Mon, 26 Feb 1996 14:46:38 -0800 (PST) From: Wolfram Schneider Message-Id: <199602262246.OAA23887@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrbin Subject: cvs commit: src/usr.bin/head head.c Sender: owner-cvs-usrbin@FreeBSD.ORG Precedence: bulk wosch 96/02/26 14:46:38 Modified: usr.bin/head head.c Log: first check the count and then get the next line of characters and not cause it to first get the characters even if the count (cnt) has become 0. Submitted by: R Bezuidenhout Revision Changes Path 1.3 +1 -1 src/usr.bin/head/head.c