wok-current diff busybox/stuff/busybox-1.23-zmodules.u @ rev 18702
Up ola(0.9.8) (thanks Thomas a.k.a. kult-ex)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Dec 16 12:43:42 2015 +0200 (2015-12-16) |
parents | 4a9f656c414b |
children |
line diff
1.1 --- a/busybox/stuff/busybox-1.23-zmodules.u Fri Jan 16 14:47:47 2015 +0100 1.2 +++ b/busybox/stuff/busybox-1.23-zmodules.u Wed Dec 16 12:43:42 2015 +0200 1.3 @@ -1,7 +1,7 @@ 1.4 Add LZMA_DEFAULT_MAGIC support 1.5 --- busybox-1.23/archival/libarchive/open_transformer.c 1.6 +++ busybox-1.23/archival/libarchive/open_transformer.c 1.7 -@@ -178,6 +178,21 @@ 1.8 +@@ -178,6 +178,22 @@ 1.9 /* .gz and .bz2 both have 2-byte signature, and their 1.10 * unpack_XXX_stream wants this header skipped. */ 1.11 xread(fd, magic.b16, sizeof(magic.b16[0])); 1.12 @@ -15,6 +15,7 @@ 1.13 + if (ENABLE_FEATURE_SEAMLESS_LZMA 1.14 + && magic.b16[0] == LZMA_DEFAULT_MAGIC 1.15 + ) { 1.16 ++ xlseek(fd, offset, SEEK_CUR); 1.17 + xstate->xformer = unpack_lzma_stream; 1.18 + USE_FOR_NOMMU(xstate->xformer_prog = "unlzma";) 1.19 + goto found_magic;