diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2018-02-13 07:06:11 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2018-02-13 07:06:25 +0000 |
commit | aeab49c877a93051065ab41625d9b13a6017c1d6 (patch) | |
tree | cd8f68d5ee0caebf508f6d4f1595d8656f0bff55 /file_index.h | |
parent | Releasing debian version 1.6-5. (diff) | |
download | plzip-aeab49c877a93051065ab41625d9b13a6017c1d6.tar.xz plzip-aeab49c877a93051065ab41625d9b13a6017c1d6.zip |
Merging upstream version 1.7.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | file_index.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/file_index.h b/file_index.h index 5b9813e..7962b99 100644 --- a/file_index.h +++ b/file_index.h @@ -1,5 +1,5 @@ /* Plzip - Parallel compressor compatible with lzip - Copyright (C) 2009-2017 Antonio Diaz Diaz. + Copyright (C) 2009-2018 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 @@ -55,10 +55,12 @@ class File_index void set_errno_error( const char * const msg ); void set_num_error( const char * const msg, unsigned long long num ); - bool skip_trailing_data( const int fd, long long & pos ); + bool skip_trailing_data( const int fd, long long & pos, + const bool ignore_trailing, const bool loose_trailing ); public: - File_index( const int infd, const bool ignore_trailing ); + File_index( const int infd, const bool ignore_trailing, + const bool loose_trailing ); long members() const { return member_vector.size(); } const std::string & error() const { return error_; } |