aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/ijar/zip_main.cc
diff options
context:
space:
mode:
authorGravatar Damien Martin-Guillerez <dmarting@google.com>2015-09-11 14:44:53 +0000
committerGravatar Damien Martin-Guillerez <dmarting@google.com>2015-09-11 15:26:14 +0000
commit4009d2c4938a768158d7ae2ea848933a96737d25 (patch)
treea9ef9f16d6b8c6d38e80d12b25d33ada88cb61af /third_party/ijar/zip_main.cc
parent3acb4fd79f961965057fd56dc6ab9dab3c0f9267 (diff)
Add CRC-32 computation to third_party/ijar:zipper
This can be a problem for some usage of the produced ZIP file to not compute the CRC-32 correctly. We still skip it for ijar for speed. -- MOS_MIGRATED_REVID=102844157
Diffstat (limited to 'third_party/ijar/zip_main.cc')
-rw-r--r--third_party/ijar/zip_main.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/ijar/zip_main.cc b/third_party/ijar/zip_main.cc
index 43b035ad97..4715032060 100644
--- a/third_party/ijar/zip_main.cc
+++ b/third_party/ijar/zip_main.cc
@@ -237,7 +237,7 @@ int create(char *zipfile, char **files, bool flatten, bool verbose,
}
memcpy(buffer, data, statst.st_size);
munmap(data, statst.st_size);
- builder->FinishFile(statst.st_size, compress);
+ builder->FinishFile(statst.st_size, compress, true);
}
}
if (builder->Finish() < 0) {