diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2013-01-14 01:34:48 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2013-01-14 01:34:48 +0100 |
commit | 6967578728a3eef43b7b2be4080dafc1b87f528d (patch) | |
tree | 76b79c4c81ce8e5ad4e57df5119efecef810e673 /archival/gzip.c | |
parent | 52185155088d0910d29c7f4fdf5cb3eecaac8965 (diff) | |
download | busybox-w32-6967578728a3eef43b7b2be4080dafc1b87f528d.tar.gz busybox-w32-6967578728a3eef43b7b2be4080dafc1b87f528d.tar.bz2 busybox-w32-6967578728a3eef43b7b2be4080dafc1b87f528d.zip |
whitespace fixes. no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'archival/gzip.c')
-rw-r--r-- | archival/gzip.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/archival/gzip.c b/archival/gzip.c index 80db4f969..31ccab3cd 100644 --- a/archival/gzip.c +++ b/archival/gzip.c | |||
@@ -1179,7 +1179,7 @@ static void gen_codes(ct_data * tree, int max_code) | |||
1179 | * must be all ones. | 1179 | * must be all ones. |
1180 | */ | 1180 | */ |
1181 | Assert(code + G2.bl_count[MAX_BITS] - 1 == (1 << MAX_BITS) - 1, | 1181 | Assert(code + G2.bl_count[MAX_BITS] - 1 == (1 << MAX_BITS) - 1, |
1182 | "inconsistent bit counts"); | 1182 | "inconsistent bit counts"); |
1183 | Tracev((stderr, "\ngen_codes: max_code %d ", max_code)); | 1183 | Tracev((stderr, "\ngen_codes: max_code %d ", max_code)); |
1184 | 1184 | ||
1185 | for (n = 0; n <= max_code; n++) { | 1185 | for (n = 0; n <= max_code; n++) { |
@@ -1527,9 +1527,9 @@ static int ct_tally(int dist, int lc) | |||
1527 | } | 1527 | } |
1528 | out_length >>= 3; | 1528 | out_length >>= 3; |
1529 | Trace((stderr, | 1529 | Trace((stderr, |
1530 | "\nlast_lit %u, last_dist %u, in %ld, out ~%ld(%ld%%) ", | 1530 | "\nlast_lit %u, last_dist %u, in %ld, out ~%ld(%ld%%) ", |
1531 | G2.last_lit, G2.last_dist, in_length, out_length, | 1531 | G2.last_lit, G2.last_dist, in_length, out_length, |
1532 | 100L - out_length * 100L / in_length)); | 1532 | 100L - out_length * 100L / in_length)); |
1533 | if (G2.last_dist < G2.last_lit / 2 && out_length < in_length / 2) | 1533 | if (G2.last_dist < G2.last_lit / 2 && out_length < in_length / 2) |
1534 | return 1; | 1534 | return 1; |
1535 | } | 1535 | } |
@@ -1621,9 +1621,9 @@ static ulg flush_block(char *buf, ulg stored_len, int eof) | |||
1621 | static_lenb = (G2.static_len + 3 + 7) >> 3; | 1621 | static_lenb = (G2.static_len + 3 + 7) >> 3; |
1622 | 1622 | ||
1623 | Trace((stderr, | 1623 | Trace((stderr, |
1624 | "\nopt %lu(%lu) stat %lu(%lu) stored %lu lit %u dist %u ", | 1624 | "\nopt %lu(%lu) stat %lu(%lu) stored %lu lit %u dist %u ", |
1625 | opt_lenb, G2.opt_len, static_lenb, G2.static_len, stored_len, | 1625 | opt_lenb, G2.opt_len, static_lenb, G2.static_len, stored_len, |
1626 | G2.last_lit, G2.last_dist)); | 1626 | G2.last_lit, G2.last_dist)); |
1627 | 1627 | ||
1628 | if (static_lenb <= opt_lenb) | 1628 | if (static_lenb <= opt_lenb) |
1629 | opt_lenb = static_lenb; | 1629 | opt_lenb = static_lenb; |
@@ -1661,7 +1661,7 @@ static ulg flush_block(char *buf, ulg stored_len, int eof) | |||
1661 | } else { | 1661 | } else { |
1662 | send_bits((DYN_TREES << 1) + eof, 3); | 1662 | send_bits((DYN_TREES << 1) + eof, 3); |
1663 | send_all_trees(G2.l_desc.max_code + 1, G2.d_desc.max_code + 1, | 1663 | send_all_trees(G2.l_desc.max_code + 1, G2.d_desc.max_code + 1, |
1664 | max_blindex + 1); | 1664 | max_blindex + 1); |
1665 | compress_block((ct_data *) G2.dyn_ltree, (ct_data *) G2.dyn_dtree); | 1665 | compress_block((ct_data *) G2.dyn_ltree, (ct_data *) G2.dyn_dtree); |
1666 | G2.compressed_len += 3 + G2.opt_len; | 1666 | G2.compressed_len += 3 + G2.opt_len; |
1667 | } | 1667 | } |