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>
Thu, 19 Jul 2018 00:13:54 +0000 (01:13 +0100)
commitf8a0e50801099efc63fd838b08cf802e8af51ead
tree113e70fc21325f7f49f40c378b66096468dfa3f8
parentb01a7350146c7a7ae48384f67a2541174aa01099
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