diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2015-11-07 05:07:26 +0000 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2015-11-07 05:07:26 +0000 |
commit | 9e45b52bdbe9c7daeb82f594a9421d164273e212 (patch) | |
tree | be6247448f328f563dca45e2c96e18f71b93f910 /main.c | |
parent | Adding debian version 1.5-1. (diff) | |
download | lunzip-9e45b52bdbe9c7daeb82f594a9421d164273e212.tar.xz lunzip-9e45b52bdbe9c7daeb82f594a9421d164273e212.zip |
Merging upstream version 1.6.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -3,7 +3,7 @@ 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 - the Free Software Foundation, either version 3 of the License, or + the Free Software Foundation, either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, @@ -126,7 +126,7 @@ static void show_version( void ) { printf( "%s %s\n", program_name, PROGVERSION ); printf( "Copyright (C) %s Antonio Diaz Diaz.\n", program_year ); - printf( "License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\n" + printf( "License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>\n" "This is free software: you are free to change and redistribute it.\n" "There is NO WARRANTY, to the extent permitted by law.\n" ); } @@ -233,8 +233,7 @@ static int extension_index( const char * const name ) static int open_instream( const char * const name, struct stat * const in_statsp, const bool no_ofile ) { - int infd; - infd = open( name, O_RDONLY | O_BINARY ); + int infd = open( name, O_RDONLY | O_BINARY ); if( infd < 0 ) { if( verbosity >= 0 ) |