Date: Mon, 27 Jan 2003 10:16:32 -0800 (PST) From: Bill Fenner <fenner@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/lastcomm lastcomm.c Message-ID: <200301271816.h0RIGWfL060088@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301271816.h0RIGWfL060088>
