git: newsyslog - Fix misc issues

Antonio Huete Jimenez tuxillo at
Sun Jan 28 17:16:15 PST 2018

commit fb4c3f1617c1a4447b25a5eff9fd2bddda1e7871
Author: Antonio Huete Jimenez <tuxillo at>
Date:   Mon Jan 29 02:02:20 2018 +0100

    newsyslog - Fix misc issues
    When building the command to execute for compression, newsyslog was modifying
    the generic arguments array instead of its own copy.
    Meaning on the second file to compress with the same arguments, the command line
    was not the one expected.
    Fix it by creating one copy of the arguments per execution and modifying that
    While here, print the command line executed in verbose mode.

Summary of changes:
 usr.sbin/newsyslog/newsyslog.c | 20 +++++++++++++++++++-
 1 file changed, 19 insertions(+), 1 deletion(-)

DragonFly BSD source repository

More information about the Commits mailing list