freebsd-dev/usr.sbin/newsyslog
Baptiste Daroussin 64874a795e newsyslog: Fix issues after r326616
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
copy.

While here, print the command line executed in verbose mode.

Reported by:	many
2017-12-18 09:35:04 +00:00
..
tests Clean up leading whitespace (convert single column spaces to hard tabs) 2017-07-20 00:40:03 +00:00
extern.h various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
Makefile Add HAS_TESTS to all Makefiles that are currently using the 2017-08-02 08:50:42 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
newsyslog.8 Add newsyslog capability to write RFC5424 compliant rotation message. 2017-05-26 16:36:30 +00:00
newsyslog.c newsyslog: Fix issues after r326616 2017-12-18 09:35:04 +00:00
newsyslog.conf.5 Add newsyslog capability to write RFC5424 compliant rotation message. 2017-05-26 16:36:30 +00:00
pathnames.h Add a new Y flag to newsyslog.conf 2017-04-15 20:37:34 +00:00
ptimes.c Add newsyslog capability to write RFC5424 compliant rotation message. 2017-05-26 16:36:30 +00:00