Adding upstream version 0.7.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
c2bdc739f1
commit
0504e18b91
17 changed files with 318 additions and 96 deletions
4
main.cc
4
main.cc
|
@ -551,8 +551,8 @@ int print_magic_type( const std::string & magic_type )
|
|||
{
|
||||
std::string data;
|
||||
|
||||
if( magic_type == "gzip" ) std::printf( "\x1F\x8B" );
|
||||
else if( magic_type == "bzip2" ) std::printf( "BZh" );
|
||||
if( magic_type == "bzip2" ) std::printf( "BZh" );
|
||||
else if( magic_type == "gzip" ) std::printf( "\x1F\x8B" );
|
||||
else if( magic_type == "lzip" ) std::printf( "LZIP" );
|
||||
else if( magic_type == "xz" ) std::printf( "%c7zXZ", '\xFD' );
|
||||
else if( hex_to_data( magic_type, data ) ) std::printf( data.c_str() );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue