Page MenuHomeFreeBSD

newsyslog: fix compression arglist construction
ClosedPublic

Authored by dnelson_1901_yahoo.com on Jul 30 2018, 3:13 PM.

Details

Summary

Reuse of the index variable in two nested loops resulted in only the first
argument in the list being used (fine for gzip, not fine for zstd). Also
add tests for xz and zstd, and fix the COMPRESS_SUFFIX_MAXLEN macro.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.