Date: Thu, 21 Apr 2011 16:31:05 +0000 (UTC) From: "Simon L. Nielsen" <simon@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/usr.sbin/newsyslog newsyslog.c Message-ID: <201104211631.p3LGVGIu032399@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
simon 2011-04-21 16:31:05 UTC FreeBSD src repository Modified files: usr.sbin/newsyslog newsyslog.c Log: SVN rev 220926 on 2011-04-21 16:31:05Z by simon Fix an old bug in newsyslog where we kept one log file more than was requested in newsyslog.conf. This was only the case using the non-time based filenames (.0, .1, .2 etc.). The change also makes newsyslog clean clean up the old extra logfile so users don't end up with a single stale logfile which won't be rotated out. This change also cleans up some code a bit to avoid more copy / paste code and removes some old copy / paste code in the process. PR: bin/76697 MFC after: 2 weeks Revision Changes Path 1.120 +59 -31 src/usr.sbin/newsyslog/newsyslog.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104211631.p3LGVGIu032399>