diff options
Diffstat (limited to 'archival')
-rw-r--r-- | archival/gzip.c | 2 | ||||
-rw-r--r-- | archival/libarchive/decompress_gunzip.c | 2 | ||||
-rw-r--r-- | archival/libarchive/decompress_unxz.c | 2 | ||||
-rw-r--r-- | archival/lzop.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/archival/gzip.c b/archival/gzip.c index e3dd79291..c5a1fe9b4 100644 --- a/archival/gzip.c +++ b/archival/gzip.c @@ -2239,7 +2239,7 @@ int gzip_main(int argc UNUSED_PARAM, char **argv) ALLOC(ush, G1.prev, 1L << BITS); /* Initialize the CRC32 table */ - global_crc32_table = crc32_filltable(NULL, 0); + global_crc32_new_table_le(); argv += optind; return bbunpack(argv, pack_gzip, append_ext, "gz"); diff --git a/archival/libarchive/decompress_gunzip.c b/archival/libarchive/decompress_gunzip.c index c8245d736..edff7e0e5 100644 --- a/archival/libarchive/decompress_gunzip.c +++ b/archival/libarchive/decompress_gunzip.c @@ -1000,7 +1000,7 @@ inflate_unzip_internal(STATE_PARAM transformer_state_t *xstate) gunzip_bb = 0; /* Create the crc table */ - gunzip_crc_table = crc32_filltable(NULL, 0); + gunzip_crc_table = crc32_new_table_le(); gunzip_crc = ~0; error_msg = "corrupted data"; diff --git a/archival/libarchive/decompress_unxz.c b/archival/libarchive/decompress_unxz.c index 0be85500c..8ae7a275b 100644 --- a/archival/libarchive/decompress_unxz.c +++ b/archival/libarchive/decompress_unxz.c @@ -52,7 +52,7 @@ unpack_xz_stream(transformer_state_t *xstate) IF_DESKTOP(long long) int total = 0; if (!global_crc32_table) - global_crc32_table = crc32_filltable(NULL, /*endian:*/ 0); + global_crc32_new_table_le(); memset(&iobuf, 0, sizeof(iobuf)); membuf = xmalloc(2 * BUFSIZ); diff --git a/archival/lzop.c b/archival/lzop.c index ba27aeff0..fef8cdba3 100644 --- a/archival/lzop.c +++ b/archival/lzop.c @@ -1148,6 +1148,6 @@ int lzop_main(int argc UNUSED_PARAM, char **argv) if (ENABLE_UNLZOP && applet_name[4] == 'o') option_mask32 |= OPT_DECOMPRESS; - global_crc32_table = crc32_filltable(NULL, 0); + global_crc32_new_table_le(); return bbunpack(argv, pack_lzop, make_new_name_lzop, /*unused:*/ NULL); } |