From owner-freebsd-commit Mon Feb 26 14:46:47 1996 Return-Path: owner-commit Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA23917 for freebsd-commit-outgoing; Mon, 26 Feb 1996 14:46:47 -0800 (PST) Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA23910 for cvs-all-outgoing; Mon, 26 Feb 1996 14:46:44 -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-commit@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