1
0
Fork 0

Merging upstream version 1.11.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-20 21:28:08 +01:00
parent 37996bac79
commit bb8f341eba
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
27 changed files with 614 additions and 442 deletions

44
NEWS
View file

@ -1,32 +1,30 @@
Changes in version 1.10:
Changes in version 1.11:
The function 'LZ_compress_finish' now adjusts the dictionary size for
each member.
In case of decompression error caused by corrupt or truncated data,
LZ_decompress_read now does not signal the error immediately to the
application, but waits until all decoded bytes have been read. This
allows tools like tarlz to recover as much data as possible from damaged
members.
The option '--loose-trailing', has been added to minilzip.
It is now an error to specify two different operations to minilzip in
the command line (--decompress and --test).
The test used by lzlib 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, lzlib now returns a
data error when some kinds of files are appended to a lzip file as
trailing data.
The '--loose-trailing' option of minilzip can be used to ignore such
trailing data when decompressing.
Lziprecover can be used to remove conflicting trailing data from a file.
Minilzip now also checks for errors when closing the input file.
Option '-S, --volume-size' of minilzip now keeps input files unchanged.
Minilzip now compiles on DOS with DJGPP. (Patch from Robert Riebisch).
The 'bits/byte' ratio has been replaced with the inverse compression
ratio in the output of minilzip.
The descriptions of '-0..-9', '-m' and '-s' in the manual have been
improved.
minilzip now shows a final diagnostic at verbosity level 1 (-v) or
higher if any file fails the test when testing multiple files.
It has been documented that it is safe to call 'LZ_(de)compress_finish'
as many times as needed. Examples in the manual have been simplified.
minilzip no longer adds a second '.lz' extension to the argument of '-o'
if it already ends in '.lz' or '.tlz'.
The configure script now accepts appending options to CFLAGS using the
syntax 'CFLAGS+=OPTIONS'.
minilzip now shows the dictionary size at verbosity level 4 (-vvvv) when
decompressing or testing.
Makefile targets 'install-bin*' have been renamed to 'install-lib*'. New
'install-bin*' targets have been created that install a shared minilzip,
or a static minilzip if the shared library has not been configured.
The new chapter 'Invoking minilzip' has been added to the manual.
It has been documented in INSTALL the use of
CFLAGS+='-D __USE_MINGW_ANSI_STDIO' when compiling on MinGW.