search for: d0c7e00

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

Did you mean: 0x7e00
2016 Jan 06
0
[PATCH klibc] gzip: Fix silent fallback to decompression
...that. Instead they should fail with an explicit error in this case. Signed-off-by: Ben Hutchings <ben at decadent.org.uk> --- usr/gzip/gzip.c | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) 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) */ +#defin...
2016 Jan 06
0
[klibc:master] gzip: Fix silent fallback to decompression
...case. Signed-off-by: Ben Hutchings <ben at decadent.org.uk> Signed-off-by: H. Peter Anvin <hpa at linux.intel.com> --- usr/gzip/gzip.c | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) 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) */ +#defin...