aboutsummaryrefslogtreecommitdiffstats
path: root/src/package.c
diff options
context:
space:
mode:
authorTimo Teras <timo.teras@iki.fi>2009-07-29 19:16:04 +0300
committerTimo Teras <timo.teras@iki.fi>2009-07-29 19:16:04 +0300
commit7b05eef61f08f0f34266ac3af4ae22fc72dbc269 (patch)
tree43fe57eeb28cdb6819729d331af36005b33c5ad2 /src/package.c
parent2887e04cd7ea8fcc3e0815a11db6899d1c9535bf (diff)
downloadaports-7b05eef61f08f0f34266ac3af4ae22fc72dbc269.tar.gz
aports-7b05eef61f08f0f34266ac3af4ae22fc72dbc269.tar.bz2
aports-7b05eef61f08f0f34266ac3af4ae22fc72dbc269.tar.xz
tar: make checksumming of inner files conditional
and force checksumming only when unpacking archive. otherwise it's extra computation for nothing.
Diffstat (limited to 'src/package.c')
-rw-r--r--src/package.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/package.c b/src/package.c
index bf5b889f5b..43ce646306 100644
--- a/src/package.c
+++ b/src/package.c
@@ -713,7 +713,7 @@ int apk_pkg_read(struct apk_database *db, const char *file,
ctx.pkg->size = fi.size;
tar = apk_bstream_gunzip_mpart(bs, apk_sign_ctx_mpart_cb, sctx);
- r = apk_tar_parse(tar, read_info_entry, &ctx);
+ r = apk_tar_parse(tar, read_info_entry, &ctx, FALSE);
tar->close(tar);
if (r < 0 && r != -ECANCELED)
goto err;