Date: Fri, 1 Mar 2002 11:46:20 -0800 (PST) From: Ian Dowse <iedowse@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/last last.c Message-ID: <200203011946.g21JkKU42609@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
iedowse 2002/03/01 11:46:20 PST
Modified files:
usr.bin/last last.c
Log:
Oops, unbreak the -d and -<n> options. The `snapfound' variable
needs to be retained across entries, and we need to exit(), not
return from doentry() when `maxrec' reaches 0. Move the code for
processing `maxrec' into printentry() for simplicity.
Revision Changes Path
1.24 +5 -11 src/usr.bin/last/last.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?200203011946.g21JkKU42609>
