diff options
author | Ron Yorston <rmy@pobox.com> | 2015-07-14 14:12:05 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2015-07-14 14:12:05 +0100 |
commit | 895a1533781ca4713ef92113ab6ac5f2584ddd9d (patch) | |
tree | 49c8602e9cd733e6f6c105e94e614b8236677853 /archival/libarchive | |
parent | 535ec990c50206697852d5c25e94a959f24d86bc (diff) | |
parent | 072fc60f29ee3a4ff38f095a9ef149b2e820c8c0 (diff) | |
download | busybox-w32-895a1533781ca4713ef92113ab6ac5f2584ddd9d.tar.gz busybox-w32-895a1533781ca4713ef92113ab6ac5f2584ddd9d.tar.bz2 busybox-w32-895a1533781ca4713ef92113ab6ac5f2584ddd9d.zip |
Merge branch 'busybox' into merge
Diffstat (limited to 'archival/libarchive')
-rw-r--r-- | archival/libarchive/bz/compress.c | 1 | ||||
-rw-r--r-- | archival/libarchive/decompress_uncompress.c | 1 | ||||
-rw-r--r-- | archival/libarchive/lzo1x_9x.c | 1 | ||||
-rw-r--r-- | archival/libarchive/unxz/xz_dec_lzma2.c | 3 | ||||
-rw-r--r-- | archival/libarchive/unxz/xz_dec_stream.c | 2 |
5 files changed, 0 insertions, 8 deletions
diff --git a/archival/libarchive/bz/compress.c b/archival/libarchive/bz/compress.c index 23de9d3f5..2d994685c 100644 --- a/archival/libarchive/bz/compress.c +++ b/archival/libarchive/bz/compress.c | |||
@@ -385,7 +385,6 @@ void sendMTFValues(EState* s) | |||
385 | cost[0] = cost01 & 0xffff; cost[1] = cost01 >> 16; | 385 | cost[0] = cost01 & 0xffff; cost[1] = cost01 >> 16; |
386 | cost[2] = cost23 & 0xffff; cost[3] = cost23 >> 16; | 386 | cost[2] = cost23 & 0xffff; cost[3] = cost23 >> 16; |
387 | cost[4] = cost45 & 0xffff; cost[5] = cost45 >> 16; | 387 | cost[4] = cost45 & 0xffff; cost[5] = cost45 >> 16; |
388 | |||
389 | } else | 388 | } else |
390 | #endif | 389 | #endif |
391 | { | 390 | { |
diff --git a/archival/libarchive/decompress_uncompress.c b/archival/libarchive/decompress_uncompress.c index 496d864a7..034ed502d 100644 --- a/archival/libarchive/decompress_uncompress.c +++ b/archival/libarchive/decompress_uncompress.c | |||
@@ -297,7 +297,6 @@ unpack_Z_stream(transformer_state_t *xstate) | |||
297 | /* Remember previous code. */ | 297 | /* Remember previous code. */ |
298 | oldcode = incode; | 298 | oldcode = incode; |
299 | } | 299 | } |
300 | |||
301 | } while (rsize > 0); | 300 | } while (rsize > 0); |
302 | 301 | ||
303 | if (outpos > 0) { | 302 | if (outpos > 0) { |
diff --git a/archival/libarchive/lzo1x_9x.c b/archival/libarchive/lzo1x_9x.c index 2b490ae83..09ee4ba5c 100644 --- a/archival/libarchive/lzo1x_9x.c +++ b/archival/libarchive/lzo1x_9x.c | |||
@@ -71,7 +71,6 @@ typedef struct { | |||
71 | uint8_t *out; | 71 | uint8_t *out; |
72 | 72 | ||
73 | unsigned r1_lit; | 73 | unsigned r1_lit; |
74 | |||
75 | } lzo1x_999_t; | 74 | } lzo1x_999_t; |
76 | 75 | ||
77 | #define getbyte(c) ((c).ip < (c).in_end ? *((c).ip)++ : (-1)) | 76 | #define getbyte(c) ((c).ip < (c).in_end ? *((c).ip)++ : (-1)) |
diff --git a/archival/libarchive/unxz/xz_dec_lzma2.c b/archival/libarchive/unxz/xz_dec_lzma2.c index 3c2dc88b7..351251f7c 100644 --- a/archival/libarchive/unxz/xz_dec_lzma2.c +++ b/archival/libarchive/unxz/xz_dec_lzma2.c | |||
@@ -995,10 +995,8 @@ XZ_EXTERN NOINLINE enum xz_ret XZ_FUNC xz_dec_lzma2_run( | |||
995 | s->lzma2.need_props = false; | 995 | s->lzma2.need_props = false; |
996 | s->lzma2.next_sequence | 996 | s->lzma2.next_sequence |
997 | = SEQ_PROPERTIES; | 997 | = SEQ_PROPERTIES; |
998 | |||
999 | } else if (s->lzma2.need_props) { | 998 | } else if (s->lzma2.need_props) { |
1000 | return XZ_DATA_ERROR; | 999 | return XZ_DATA_ERROR; |
1001 | |||
1002 | } else { | 1000 | } else { |
1003 | s->lzma2.next_sequence | 1001 | s->lzma2.next_sequence |
1004 | = SEQ_LZMA_PREPARE; | 1002 | = SEQ_LZMA_PREPARE; |
@@ -1080,7 +1078,6 @@ XZ_EXTERN NOINLINE enum xz_ret XZ_FUNC xz_dec_lzma2_run( | |||
1080 | 1078 | ||
1081 | rc_reset(&s->rc); | 1079 | rc_reset(&s->rc); |
1082 | s->lzma2.sequence = SEQ_CONTROL; | 1080 | s->lzma2.sequence = SEQ_CONTROL; |
1083 | |||
1084 | } else if (b->out_pos == b->out_size | 1081 | } else if (b->out_pos == b->out_size |
1085 | || (b->in_pos == b->in_size | 1082 | || (b->in_pos == b->in_size |
1086 | && s->temp.size | 1083 | && s->temp.size |
diff --git a/archival/libarchive/unxz/xz_dec_stream.c b/archival/libarchive/unxz/xz_dec_stream.c index bdcbf1ba3..bf791055b 100644 --- a/archival/libarchive/unxz/xz_dec_stream.c +++ b/archival/libarchive/unxz/xz_dec_stream.c | |||
@@ -353,7 +353,6 @@ static enum xz_ret XZ_FUNC crc32_validate(struct xz_dec *s, struct xz_buf *b) | |||
353 | return XZ_DATA_ERROR; | 353 | return XZ_DATA_ERROR; |
354 | 354 | ||
355 | s->pos += 8; | 355 | s->pos += 8; |
356 | |||
357 | } while (s->pos < 32); | 356 | } while (s->pos < 32); |
358 | 357 | ||
359 | s->crc32 = 0; | 358 | s->crc32 = 0; |
@@ -753,7 +752,6 @@ XZ_EXTERN enum xz_ret XZ_FUNC xz_dec_run(struct xz_dec *s, struct xz_buf *b) | |||
753 | b->in_pos = in_start; | 752 | b->in_pos = in_start; |
754 | b->out_pos = out_start; | 753 | b->out_pos = out_start; |
755 | } | 754 | } |
756 | |||
757 | } else if (ret == XZ_OK && in_start == b->in_pos | 755 | } else if (ret == XZ_OK && in_start == b->in_pos |
758 | && out_start == b->out_pos) { | 756 | && out_start == b->out_pos) { |
759 | if (s->allow_buf_error) | 757 | if (s->allow_buf_error) |