diff options
author | Denis Vlasenko | 2009-02-26 11:57:01 +0000 |
---|---|---|
committer | Denis Vlasenko | 2009-02-26 11:57:01 +0000 |
commit | a76f10b544b4ffe4b0aaf41eede1aeb9b13a95e8 (patch) | |
tree | a41295eaee4b3f28a6e20df4e592ffacc42ac4ab /archival | |
parent | 15c0b725849875c718b168a26e13872e163cde4c (diff) | |
download | busybox-a76f10b544b4ffe4b0aaf41eede1aeb9b13a95e8.zip busybox-a76f10b544b4ffe4b0aaf41eede1aeb9b13a95e8.tar.gz |
Apply post-1.13.2 fixes, bump version to 1.13.3
Diffstat (limited to 'archival')
-rw-r--r-- | archival/tar.c | 2 | ||||
-rw-r--r-- | archival/unzip.c | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/archival/tar.c b/archival/tar.c index deb5c89..47cc39c 100644 --- a/archival/tar.c +++ b/archival/tar.c @@ -591,8 +591,6 @@ static NOINLINE int writeTarFile(int tar_fd, int verboseFlag, struct TarBallInfo tbInfo; tbInfo.hlInfoHead = NULL; - - fchmod(tar_fd, 0644); tbInfo.tarFd = tar_fd; tbInfo.verboseFlag = verboseFlag; diff --git a/archival/unzip.c b/archival/unzip.c index e468ff4..7b47a8a 100644 --- a/archival/unzip.c +++ b/archival/unzip.c @@ -140,7 +140,7 @@ struct BUG_cde_header_must_be_16_bytes { }; #define FIX_ENDIANNESS_CDE(cde_header) do { \ - (cde_header).formatted.cds_offset = SWAP_LE16((cde_header).formatted.cds_offset); \ + (cde_header).formatted.cds_offset = SWAP_LE32((cde_header).formatted.cds_offset); \ } while (0) enum { zip_fd = 3 }; |