diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2017-05-07 15:52:21 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2017-05-07 15:52:21 +0000 |
commit | f66fabc4c5e5085c110f7cdae627d7ca042386cf (patch) | |
tree | 782562a0be58fe11c10fb05658233ae51cce9b7c /split.cc | |
parent | Adding upstream version 1.18. (diff) | |
download | lziprecover-f66fabc4c5e5085c110f7cdae627d7ca042386cf.tar.xz lziprecover-f66fabc4c5e5085c110f7cdae627d7ca042386cf.zip |
Adding upstream version 1.19.upstream/1.19
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | split.cc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ /* Lziprecover - Data recovery tool for the lzip format - Copyright (C) 2009-2016 Antonio Diaz Diaz. + Copyright (C) 2009-2017 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 @@ -107,7 +107,7 @@ int do_split_file( const std::string & input_filename, uint8_t * & base_buffer, { pp( "Input file is too short." ); return 2; } if( !verify_header( *(File_header *)buffer, pp ) ) return 2; - const File_index file_index( infd ); + const File_index file_index( infd, true, true ); if( file_index.retval() != 0 ) pp( file_index.error().c_str() ); const long max_members = file_index.retval() ? 999999 : file_index.members(); int max_digits = 1; |