1
0
Fork 0

Merging upstream version 1.10.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-17 22:24:52 +01:00
parent 7ed3b78bc0
commit 5aac003d1d
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
16 changed files with 352 additions and 181 deletions

36
NEWS
View file

@ -1,14 +1,32 @@
Changes in version 1.9:
Changes in version 1.10:
The option '-l, --list' has been ported from lziprecover.
The option '--loose-trailing', has been added.
It is now an error to specify two or more different operations in the
command line (--decompress, --list or --test).
The test used by lunzip to discriminate trailing data from a corrupt
header in multimember or concatenated files has been improved to a
Hamming distance (HD) of 3, and the 3 bit flips must happen in different
magic bytes for the test to fail. As a consequence some kinds of files
no longer can be appended to a lzip file as trailing data unless the
'--loose-trailing' option is used when decompressing.
Lziprecover can be used to remove conflicting trailing data from a file.
Decompression time has been reduced by 7%.
The contents of a corrupt or truncated header found in a multimember
file is now shown, after the error message, in the same format as
trailing data.
In test mode, lunzip now continues checking the rest of the files if any
input file is a terminal.
The 'bits/byte' ratio has been replaced with the inverse compression
ratio in the output.
Trailing data are now shown both in hexadecimal and as a string of
printable ASCII characters.
The progress of decompression is now shown at verbosity level 2 (-vv) or
higher.
Progress of decompression is only shown if stderr is a terminal.
A final diagnostic is now shown at verbosity level 1 (-v) or higher if
any file fails the test when testing multiple files.
In case of (de)compressed size mismatch, the stored size is now also
shown in hexadecimal to ease visual comparison.
The dictionary size is now shown at verbosity level 4 (-vvvv) when
decompressing or testing.