1
0
Fork 0

Merging upstream version 1.25~pre1.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-21 11:33:15 +01:00
parent 8062cdcacd
commit 3e4c2fba01
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
60 changed files with 5261 additions and 1250 deletions

View file

@ -53,7 +53,7 @@ bool decompress_member( const int infd, const Cl_options & cl_opts,
if( verbosity >= 2 ) pp();
LZ_decoder decoder( rdec, dictionary_size, outfd, outskip, outend );
const int result = decoder.decode_member( cl_opts, pp );
const int result = decoder.decode_member( pp, cl_opts.ignore_nonzero );
if( result != 0 )
{
if( verbosity >= 0 && result <= 2 )
@ -141,7 +141,8 @@ int range_decompress( const std::string & input_filename,
if( range.end() > udata_size )
range.size( std::max( 0LL, udata_size - range.pos() ) );
if( range.size() <= 0 )
{ if( udata_size > 0 ) show_file_error( filename, "Nothing to do." );
{ if( udata_size > 0 )
show_file_error( filename, "Nothing to do; range is empty." );
return 0; }
if( to_stdout || default_output_filename.empty() ) outfd = STDOUT_FILENO;