git: newsyslog - Update mtime after archiving.

Antonio Huete Jimenez tuxillo at crater.dragonflybsd.org
Sun Jan 28 17:16:12 PST 2018


commit 31c425dce6d1e7116746b60ba5eca7892e032728
Author: Antonio Huete Jimenez <tuxillo at quantumachine.net>
Date:   Sun Jan 28 21:40:00 2018 +0100

    newsyslog - Update mtime after archiving.
    
    Make sure to update the mtime of a logfile after archiving it. This
    ensures that the next rotation happens at the correct time when using
    interval-based rotations.
    
    Obtained-from: FreeBSD (r244997)

Summary of changes:
 usr.sbin/newsyslog/newsyslog.c | 9 +++++++++
 1 file changed, 9 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/31c425dce6d1e7116746b60ba5eca7892e032728


-- 
DragonFly BSD source repository



More information about the Commits mailing list