From owner-cvs-all Mon Jan 27 14:10:49 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 0E46D37B401; Mon, 27 Jan 2003 14:10:48 -0800 (PST) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 569B443E4A; Mon, 27 Jan 2003 14:10:47 -0800 (PST) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.12.6/8.12.5) with SMTP id h0RMAdP4085879; Mon, 27 Jan 2003 17:10:39 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Mon, 27 Jan 2003 17:10:38 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: Bill Fenner Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/lastcomm lastcomm.c In-Reply-To: <200301271835.KAA09277@windsor.research.att.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 On Mon, 27 Jan 2003, Bill Fenner wrote: > >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. > > If anyone's interested, our fseek() gained the POSIX behavior in > libc/stdio/fseek.c rev 1.12, at Wed Aug 15 02:07:47 2001 UTC , breaking > lastcomm at that time. I guess nobody uses lastcomm much =) Odd. I'm sure I've used it since then, because I'm sure we've fixed bugs in the accounting code since that time. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Network Associates Laboratories To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message