X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/51dbdf871051cbd602ef181405caf77203cc6252..64ea838d8f4d1853b7d850db93ee565e901d099a:/src/zlib/minigzip.c diff --git a/src/zlib/minigzip.c b/src/zlib/minigzip.c index 6de35dde97..4524b96a1d 100644 --- a/src/zlib/minigzip.c +++ b/src/zlib/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 # include -#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);