diff options
author | Ron Yorston <rmy@pobox.com> | 2012-03-21 20:53:50 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2012-03-21 20:53:50 +0000 |
commit | f6bad5ef766b0447158e3de2f55c35f1f6cecb58 (patch) | |
tree | f5ec7ac45234c25794c97f87e9a6daa8a551e57c /archival | |
parent | 72394258b6509b40e0fa08594ac86215a558dfd8 (diff) | |
parent | 8d0e0cdadf726beab28ccdc7d69738c1534e1f74 (diff) | |
download | busybox-w32-f6bad5ef766b0447158e3de2f55c35f1f6cecb58.tar.gz busybox-w32-f6bad5ef766b0447158e3de2f55c35f1f6cecb58.tar.bz2 busybox-w32-f6bad5ef766b0447158e3de2f55c35f1f6cecb58.zip |
Merge commit '8d0e0cdadf726beab28ccdc7d69738c1534e1f74' into merge
Conflicts:
include/platform.h
libbb/Kbuild.src
libbb/messages.c
Diffstat (limited to 'archival')
-rw-r--r-- | archival/bbunzip.c | 4 | ||||
-rw-r--r-- | archival/libarchive/get_header_tar.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/archival/bbunzip.c b/archival/bbunzip.c index 0f89443e0..85447cbfe 100644 --- a/archival/bbunzip.c +++ b/archival/bbunzip.c | |||
@@ -317,8 +317,8 @@ int gunzip_main(int argc UNUSED_PARAM, char **argv) | |||
317 | //usage: "FILE" | 317 | //usage: "FILE" |
318 | //usage:#define bzcat_full_usage "\n\n" | 318 | //usage:#define bzcat_full_usage "\n\n" |
319 | //usage: "Decompress to stdout" | 319 | //usage: "Decompress to stdout" |
320 | //applet:IF_BUNZIP2(APPLET(bunzip2, _BB_DIR_USR_BIN, _BB_SUID_DROP)) | 320 | //applet:IF_BUNZIP2(APPLET(bunzip2, BB_DIR_USR_BIN, BB_SUID_DROP)) |
321 | //applet:IF_BUNZIP2(APPLET_ODDNAME(bzcat, bunzip2, _BB_DIR_USR_BIN, _BB_SUID_DROP, bzcat)) | 321 | //applet:IF_BUNZIP2(APPLET_ODDNAME(bzcat, bunzip2, BB_DIR_USR_BIN, BB_SUID_DROP, bzcat)) |
322 | #if ENABLE_BUNZIP2 | 322 | #if ENABLE_BUNZIP2 |
323 | static | 323 | static |
324 | IF_DESKTOP(long long) int FAST_FUNC unpack_bunzip2(unpack_info_t *info UNUSED_PARAM) | 324 | IF_DESKTOP(long long) int FAST_FUNC unpack_bunzip2(unpack_info_t *info UNUSED_PARAM) |
diff --git a/archival/libarchive/get_header_tar.c b/archival/libarchive/get_header_tar.c index 78b0ae25f..2e0332792 100644 --- a/archival/libarchive/get_header_tar.c +++ b/archival/libarchive/get_header_tar.c | |||
@@ -199,7 +199,7 @@ char FAST_FUNC get_header_tar(archive_handle_t *archive_handle) | |||
199 | uint16_t magic2; | 199 | uint16_t magic2; |
200 | 200 | ||
201 | autodetect: | 201 | autodetect: |
202 | magic2 = *(uint16_t*)tar.name; | 202 | magic2 = *(bb__aliased_uint16_t*)tar.name; |
203 | /* tar gz/bz autodetect: check for gz/bz2 magic. | 203 | /* tar gz/bz autodetect: check for gz/bz2 magic. |
204 | * If we see the magic, and it is the very first block, | 204 | * If we see the magic, and it is the very first block, |
205 | * we can switch to get_header_tar_gz/bz2/lzma(). | 205 | * we can switch to get_header_tar_gz/bz2/lzma(). |