cvs commit: src/usr.sbin/ac ac.c
Garance A Drosehn
gad at FreeBSD.org
Sat Mar 27 10:02:45 PST 2004
gad 2004/03/27 10:02:44 PST
FreeBSD src repository
Modified files: (Branch: RELENG_4)
usr.sbin/ac ac.c
Log:
MFC 1.29: Add a check for wtmp records which have invalid values for
ut_time. Wtmp records with time==0 get "the time of the last valid
record", while records where time goes backwards (compared to the
previous record) are skipped. Also prints a message saying how many
records were changed or skipped due to these checks. This check was
inspired by a simpler check in OpenBSD's version.
Revision Changes Path
1.14.2.8 +64 -12 src/usr.sbin/ac/ac.c
More information about the cvs-src
mailing list