git: newsyslog - implement 'p' flag

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


commit 6ca40c27a60149d83704dc009564c5b8f156d6c2
Author: Antonio Huete Jimenez <tuxillo at quantumachine.net>
Date:   Mon Jan 29 02:06:09 2018 +0100

    newsyslog - implement 'p' flag
    
    Implement the 'p' flag for newsyslog from NetBSD. This flag results in
    the first log file for a given file to not be compressed.
    
    While here, don't change file attributes during a no-op run
    
    Obtained-from: FreeBSD (r327451)

Summary of changes:
 usr.sbin/newsyslog/newsyslog.c      | 32 ++++++++++++++++++++++++--------
 usr.sbin/newsyslog/newsyslog.conf.5 |  2 ++
 2 files changed, 26 insertions(+), 8 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6ca40c27a60149d83704dc009564c5b8f156d6c2


-- 
DragonFly BSD source repository



More information about the Commits mailing list