diff options
Diffstat (limited to 'lib/libz/minigzip.c')
-rw-r--r-- | lib/libz/minigzip.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libz/minigzip.c b/lib/libz/minigzip.c index 6de35dd..4524b96 100644 --- a/lib/libz/minigzip.c +++ b/lib/libz/minigzip.c @@ -1,5 +1,5 @@ /* minigzip.c -- simulate gzip using the zlib compression library - * Copyright (C) 1995-2002 Jean-loup Gailly. + * Copyright (C) 1995-2005 Jean-loup Gailly. * For conditions of distribution and use, see copyright notice in zlib.h */ @@ -21,8 +21,6 @@ #ifdef STDC # include <string.h> # include <stdlib.h> -#else - extern void exit OF((int)); #endif #ifdef USE_MMAP @@ -297,6 +295,8 @@ int main(argc, argv) break; argc--, argv++; } + if (outmode[3] == ' ') + outmode[3] = 0; if (argc == 0) { SET_BINARY_MODE(stdin); SET_BINARY_MODE(stdout); |