1
0
Fork 0

Adding upstream version 1.15~rc1.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-21 11:17:33 +01:00
parent 0ff20a5602
commit 6a117924f6
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
20 changed files with 439 additions and 219 deletions

View file

@ -1,4 +1,4 @@
/* Lziprecover - Data recovery tool for lzipped files
/* Lziprecover - Data recovery tool for lzip files
Copyright (C) 2009, 2010, 2011, 2012, 2013 Antonio Diaz Diaz.
This program is free software: you can redistribute it and/or modify
@ -112,7 +112,7 @@ int decompress_member( const int infd, const int outfd,
File_header header;
rdec.read_data( header.data, File_header::size );
if( rdec.finished() ) // End Of File
{ pp( "Error reading member header" ); return 1; }
{ pp( "File ends unexpectedly at member header" ); return 2; }
if( !header.verify_magic() )
{ pp( "Bad magic number (file not in lzip format)" ); return 2; }
if( !header.verify_version() )