Date: Mon, 22 Sep 2003 17:00:26 -0700 (PDT) From: Garance A Drosehn <gad@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/newsyslog extern.h newsyslog.c ptimes.c Message-ID: <200309230000.h8N00QUN064481@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
gad 2003/09/22 17:00:26 PDT FreeBSD src repository Modified files: usr.sbin/newsyslog extern.h newsyslog.c ptimes.c Log: 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 Revision Changes Path 1.2 +25 -5 src/usr.sbin/newsyslog/extern.h 1.82 +96 -41 src/usr.sbin/newsyslog/newsyslog.c 1.3 +359 -39 src/usr.sbin/newsyslog/ptimes.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309230000.h8N00QUN064481>