aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archival/libarchive/open_transformer.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/archival/libarchive/open_transformer.c b/archival/libarchive/open_transformer.c
index ab6aa3afc..be536a3d7 100644
--- a/archival/libarchive/open_transformer.c
+++ b/archival/libarchive/open_transformer.c
@@ -185,6 +185,13 @@ static transformer_state_t *setup_transformer_on_fd(int fd, int fail_if_not_comp
185 USE_FOR_NOMMU(xstate->xformer_prog = "gunzip";) 185 USE_FOR_NOMMU(xstate->xformer_prog = "gunzip";)
186 goto found_magic; 186 goto found_magic;
187 } 187 }
188 if (ENABLE_FEATURE_SEAMLESS_Z
189 && magic.b16[0] == COMPRESS_MAGIC
190 ) {
191 xstate->xformer = unpack_Z_stream;
192 USE_FOR_NOMMU(xstate->xformer_prog = "uncompress";)
193 goto found_magic;
194 }
188 if (ENABLE_FEATURE_SEAMLESS_BZ2 195 if (ENABLE_FEATURE_SEAMLESS_BZ2
189 && magic.b16[0] == BZIP2_MAGIC 196 && magic.b16[0] == BZIP2_MAGIC
190 ) { 197 ) {