From owner-cvs-all Mon Jan 27 10:16:33 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EFD8D37B401; Mon, 27 Jan 2003 10:16:32 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9544D43ED8; Mon, 27 Jan 2003 10:16:32 -0800 (PST) (envelope-from fenner@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h0RIGWbv060089; Mon, 27 Jan 2003 10:16:32 -0800 (PST) (envelope-from fenner@repoman.freebsd.org) Received: (from fenner@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h0RIGWfL060088; Mon, 27 Jan 2003 10:16:32 -0800 (PST) Message-Id: <200301271816.h0RIGWfL060088@repoman.freebsd.org> From: Bill Fenner Date: Mon, 27 Jan 2003 10:16:32 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/lastcomm lastcomm.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG fenner 2003/01/27 10:16:32 PST Modified files: usr.bin/lastcomm lastcomm.c Log: Don't try to fseek before the beginning of the file; POSIX requires that this return an error. This re-enables display of the first entry in /var/account/acct instead of the error "lastcomm: /var/account/acct: Invalid argument" Revision Changes Path 1.18 +8 -7 src/usr.bin/lastcomm/lastcomm.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message