newsyslog - implement 'p' flag
authorAntonio Huete Jimenez <tuxillo@quantumachine.net>
Mon, 29 Jan 2018 01:06:09 +0000 (02:06 +0100)
committerAntonio Huete Jimenez <tuxillo@quantumachine.net>
Mon, 29 Jan 2018 01:06:09 +0000 (02:06 +0100)
commit6ca40c27a60149d83704dc009564c5b8f156d6c2
tree976803a0f6ffd3d834514d77fd3e38bced1fb744
parentfb4c3f1617c1a4447b25a5eff9fd2bddda1e7871
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)
usr.sbin/newsyslog/newsyslog.c
usr.sbin/newsyslog/newsyslog.conf.5