1
0
Fork 0

Merging upstream version 1.14.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-21 11:15:28 +01:00
parent 623bd26b6d
commit 24fda2a4df
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
9 changed files with 79 additions and 56 deletions

View file

@ -190,17 +190,16 @@ int list_file( const std::string & input_filename, const Pretty_print & pp )
if( pp.verbosity() >= 1 && file_index.members() > 1 )
{
std::printf( "Total members in file = %d.\n", file_index.members() );
std::printf( " Total members in file = %d.\n", file_index.members() );
if( pp.verbosity() >= 2 )
for( int i = 0; i < file_index.members(); ++i )
{
const Block & db = file_index.dblock( i );
const Block & mb = file_index.mblock( i );
std::printf( "Member %3d data pos %9llu data size %7llu "
std::printf( " Member %3d data pos %9llu data size %7llu "
"member pos %9llu member size %7llu.\n", i + 1,
db.pos(), db.size(), mb.pos(), mb.size() );
}
std::printf( "\n" );
}
}
return 0;