gzip: Fix silent fallback to decompression
authorBen Hutchings <ben@decadent.org.uk>
Fri, 18 Sep 2015 19:59:17 +0000 (21:59 +0200)
committerBen Hutchings <ben@decadent.org.uk>
Sat, 30 Dec 2017 22:09:36 +0000 (22:09 +0000)
commit384adea99fab5c32b651d86a9fb23a03361d0270
tree0a99b6b3d42840d34ed66a9d382d8eac8cec18f8
parent8032a4b3d71e453f38fd47c649e3f06ed3bcfce4
gzip: Fix silent fallback to decompression

If the gzip utilities are built without support for compression,
they will always attempt to carry out decompression even if the
command name and options don't imply that.  Instead they should
fail with an explicit error in this case.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Gbp-Pq: Name gzip-fix-silent-fallback-to-decompression.patch
usr/gzip/gzip.c