diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2015-11-07 11:45:06 +0000 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2015-11-07 11:45:06 +0000 |
commit | 1ed437c55879912627b4f4fcd02cf07866cb48bb (patch) | |
tree | f418c22c84311ba379b907dd2bcf317ddb08a239 /testsuite/unzcrash.cc | |
parent | Adding upstream version 1.15. (diff) | |
download | lziprecover-1ed437c55879912627b4f4fcd02cf07866cb48bb.tar.xz lziprecover-1ed437c55879912627b4f4fcd02cf07866cb48bb.zip |
Adding upstream version 1.16~pre1.upstream/1.16_pre1
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'testsuite/unzcrash.cc')
-rw-r--r-- | testsuite/unzcrash.cc | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/testsuite/unzcrash.cc b/testsuite/unzcrash.cc index b2cdc4e..0a4c4c4 100644 --- a/testsuite/unzcrash.cc +++ b/testsuite/unzcrash.cc @@ -1,6 +1,7 @@ /* Unzcrash - Tests robustness of decompressors to corrupted data. Inspired by unzcrash.c from Julian Seward's bzip2. - Copyright (C) 2008, 2009, 2010, 2011, 2012, 2013 Antonio Diaz Diaz. + Copyright (C) 2008, 2009, 2010, 2011, 2012, 2013, 2014 + 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 @@ -44,7 +45,7 @@ namespace { const char * const Program_name = "Unzcrash"; const char * const program_name = "unzcrash"; -const char * const program_year = "2013"; +const char * const program_year = "2014"; const char * invocation_name = 0; int verbosity = 0; @@ -108,7 +109,7 @@ void show_error( const char * const msg, const int errcode = 0, void internal_error( const char * const msg ) { if( verbosity >= 0 ) - std::fprintf( stderr, "%s: internal error: %s.\n", program_name, msg ); + std::fprintf( stderr, "%s: internal error: %s\n", program_name, msg ); std::exit( 3 ); } @@ -277,7 +278,7 @@ int main( const int argc, const char * const argv[] ) case 's': max_size = getnum( arg, 1, buffer_size ); break; case 'v': if( verbosity < 4 ) ++verbosity; break; case 'V': show_version(); return 0; - default : internal_error( "uncaught option" ); + default : internal_error( "uncaught option." ); } } // end process options |