Merging upstream version 0.22.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
62c16efd2b
commit
61a463b53b
30 changed files with 307 additions and 182 deletions
|
@ -1,5 +1,5 @@
|
|||
/* Tarlz - Archiver with multimember lzip compression
|
||||
Copyright (C) 2013-2021 Antonio Diaz Diaz.
|
||||
Copyright (C) 2013-2022 Antonio Diaz Diaz.
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -159,7 +159,7 @@ void Extended::unknown_keyword( const char * const buf,
|
|||
}
|
||||
|
||||
|
||||
// Returns the extended block size, or -1 if error.
|
||||
// Return the size of the extended block, or -1 if error.
|
||||
long long Extended::format_block( Resizable_buffer & rbuf ) const
|
||||
{
|
||||
if( empty() ) return 0; // no extended data
|
||||
|
@ -295,7 +295,7 @@ void Extended::fill_from_ustar( const Tar_header header )
|
|||
}
|
||||
|
||||
|
||||
/* Returns file size from record or from ustar header, and resets file_size_.
|
||||
/* Return file size from record or from ustar header, and reset file_size_.
|
||||
Used for fast parsing of headers in uncompressed archives.
|
||||
*/
|
||||
long long Extended::get_file_size_and_reset( const Tar_header header )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue