1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-23 11:18:54 +00:00
freebsd/usr.sbin/newsyslog
Simon L. B. Nielsen 449590b192 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
2011-04-21 16:31:05 +00:00
..
extern.h
Makefile The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
newsyslog.8 Sync manpage's SYNOPSIS with program's usage. 2011-03-09 17:07:36 +00:00
newsyslog.c Fix an old bug in newsyslog where we kept one log file more than was 2011-04-21 16:31:05 +00:00
newsyslog.conf.5 Add an example for the use of the <include> entry to help others 2011-03-26 00:34:35 +00:00
pathnames.h Add xz(1) support to newsyslog. 2011-01-31 10:57:54 +00:00
ptimes.c