diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-01-09 05:52:34 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-01-09 05:52:34 +0000 |
commit | 22f8493388fa6fff8d73a18dfa37ea188b5701b3 (patch) | |
tree | cba453e00e6dbdf54474356475fed21284e648cc /extended.cc | |
parent | Adding upstream version 0.21. (diff) | |
download | tarlz-22f8493388fa6fff8d73a18dfa37ea188b5701b3.tar.xz tarlz-22f8493388fa6fff8d73a18dfa37ea188b5701b3.zip |
Adding upstream version 0.22.upstream/0.22
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'extended.cc')
-rw-r--r-- | extended.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/extended.cc b/extended.cc index ad65eb7..721634a 100644 --- a/extended.cc +++ b/extended.cc @@ -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 ) |