search for: decompress_w

Displaying 2 results from an estimated 2 matches for "decompress_w".

Did you mean: decompress
2016 Jan 06
0
[PATCH klibc] gzip: Fix silent fallback to decompression
...ions(-) diff --git a/usr/gzip/gzip.c b/usr/gzip/gzip.c index ab73de0..d0c7e00 100644 --- a/usr/gzip/gzip.c +++ b/usr/gzip/gzip.c @@ -90,8 +90,11 @@ int level = 6; /* compression level */ #endif int to_stdout; /* output to stdout (-c) */ -#ifndef decompress +#ifdef decompress +int decompress_wanted; +#else int decompress; /* decompress (-d) */ +#define decompress_wanted decompress #endif int force; /* don't ask questions, compress links (-f) */ int no_name = -1; /* don't save or restore the original file name */ @@ -259,17 +262,13 @@ int main (argc, argv)...
2016 Jan 06
0
[klibc:master] gzip: Fix silent fallback to decompression
...ions(-) diff --git a/usr/gzip/gzip.c b/usr/gzip/gzip.c index ab73de0..d0c7e00 100644 --- a/usr/gzip/gzip.c +++ b/usr/gzip/gzip.c @@ -90,8 +90,11 @@ int level = 6; /* compression level */ #endif int to_stdout; /* output to stdout (-c) */ -#ifndef decompress +#ifdef decompress +int decompress_wanted; +#else int decompress; /* decompress (-d) */ +#define decompress_wanted decompress #endif int force; /* don't ask questions, compress links (-f) */ int no_name = -1; /* don't save or restore the original file name */ @@ -259,17 +262,13 @@ int main (argc, argv)...