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>
Sun, 6 Jan 2019 19:33:01 +0000 (19:33 +0000)
commita55dc9ea3c95cdea8399a9d9af91331716361fe7
treeba7784eaf26b9f86c4c002e9be56c4c6f1906381
parent8509f1b903d8a4d8423147656812a96d51d9ccfb
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