From de06b1d957bdad592fff87e845d27d40cfcbd694 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 7 Nov 2015 12:52:32 +0100 Subject: Adding upstream version 1.18~pre1. Signed-off-by: Daniel Baumann --- unzcrash.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'unzcrash.cc') diff --git a/unzcrash.cc b/unzcrash.cc index 49f67aa..50262b9 100644 --- a/unzcrash.cc +++ b/unzcrash.cc @@ -96,7 +96,7 @@ void show_error( const char * const msg, const int errcode = 0, std::fprintf( stderr, "%s: %s", program_name, msg ); if( errcode > 0 ) std::fprintf( stderr, ": %s", std::strerror( errcode ) ); - std::fprintf( stderr, "\n" ); + std::fputc( '\n', stderr ); } if( help ) std::fprintf( stderr, "Try '%s --help' for more information.\n", @@ -293,7 +293,7 @@ int main( const int argc, const char * const argv[] ) if( !f ) { if( verbosity >= 0 ) - std::fprintf( stderr, "Can't open file '%s' for reading\n", + std::fprintf( stderr, "Can't open file '%s' for reading.\n", parser.argument( argind + 1 ).c_str() ); return 1; } @@ -316,7 +316,7 @@ int main( const int argc, const char * const argv[] ) if( wr != size || pclose( f ) != 0 ) { if( verbosity >= 0 ) - std::fprintf( stderr, "Could not run '%s' : %s.\n", + std::fprintf( stderr, "Could not run '%s': %s\n", parser.argument( argind ).c_str(), std::strerror( errno ) ); return 1; } -- cgit v1.2.3