CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2010/03/20 09:15:45
Modified files:
usr.bin/newsyslog: newsyslog.c
Log message:
The newsyslog(8) utility used to keep one archived log file more than
requested; bug reported and patch sent by David Alten.
I resolved the problem in a different way, also fixing the following
additional issue: When you reduced the "count" in newsyslog.conf(5),
the archived logs with higher numbers got orphaned and never deleted.
Nic fixed another off-by-one error in this patch, thanks!
"I like it; definitely cleaner" DAlten at friedkin dot com
ok nicm@