diff options
author | Denis Vlasenko | 2009-04-15 00:11:22 +0000 |
---|---|---|
committer | Denis Vlasenko | 2009-04-15 00:11:22 +0000 |
commit | 8f0c89e05a7b52f8c5ae7b451de6fd50732aeb45 (patch) | |
tree | 9bf309fce9eff03da8980e84d3de5741627bf96d /archival/libunarchive | |
parent | bc7177187f6b4f32c2f9562358294dfc7b521f67 (diff) | |
download | busybox-1_13_4.zip busybox-1_13_4.tar.gz |
apply post-1.13.3 fixes, bump version to 1.13.41_13_4
Diffstat (limited to 'archival/libunarchive')
-rw-r--r-- | archival/libunarchive/get_header_tar.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/archival/libunarchive/get_header_tar.c b/archival/libunarchive/get_header_tar.c index bf0f92b..4c063b3 100644 --- a/archival/libunarchive/get_header_tar.c +++ b/archival/libunarchive/get_header_tar.c @@ -91,7 +91,7 @@ char FAST_FUNC get_header_tar(archive_handle_t *archive_handle) again_after_align: -#if ENABLE_DESKTOP +#if ENABLE_DESKTOP || ENABLE_FEATURE_TAR_AUTODETECT /* to prevent misdetection of bz2 sig */ *(uint32_t*)(&tar) = 0; i = full_read(archive_handle->src_fd, &tar, 512); @@ -142,7 +142,7 @@ char FAST_FUNC get_header_tar(archive_handle_t *archive_handle) #if ENABLE_FEATURE_TAR_AUTODETECT char FAST_FUNC (*get_header_ptr)(archive_handle_t *); - USE_DESKTOP(autodetect:) + autodetect: /* tar gz/bz autodetect: check for gz/bz2 magic. * If we see the magic, and it is the very first block, * we can switch to get_header_tar_gz/bz2/lzma(). |