]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Restructure the time processing routines, mainly to fix up the
authorGarance A Drosehn <gad@FreeBSD.org>
Tue, 23 Sep 2003 00:00:26 +0000 (00:00 +0000)
committerGarance A Drosehn <gad@FreeBSD.org>
Tue, 23 Sep 2003 00:00:26 +0000 (00:00 +0000)
commit6a1485e2fe76cc9b44fd77b258016935f89f95ca
tree5cbce648b655870350dca3b06cc88ab5d10345f8
parentda87d7e10d2a2378b1c7607ea94a1aa8ef298f21
Restructure the time processing routines, mainly to fix up the
"will trim at" message printed when the user requests '-v'.  The
previous code would often print the wrong time, such as:
On Sept 22, run:   newsyslog -nv /var/log/wtmp
        And see:   will trim at Mon Sep  1 05:00:00 2003
    correct msg:   will trim at Wed Oct  1 05:00:00 2003

MFC after: 20 days
usr.sbin/newsyslog/extern.h
usr.sbin/newsyslog/newsyslog.c
usr.sbin/newsyslog/ptimes.c