commit | d13d1f527dc640f989e4b7a9efb26a9f75538fd2 | [log] [tgz] |
---|---|---|
author | Adam Lesinski <adamlesinski@google.com> | Wed Mar 29 16:10:11 2017 -0700 |
committer | Adam Lesinski <adamlesinski@google.com> | Wed Apr 05 10:54:15 2017 -0700 |
tree | f1125f4d17f9068bb080766c9dec854d1417df70 | |
parent | 155636bd2313e12afacad222dfca89c317d88681 [diff] |
ZipWriter: Do not write DataDescriptor for STORED files Older implementations of ZIP (Java's ZipInputStream) don't like a Data Descriptor trailing after an uncompressed entry. If the FILE is seekable, and the entry is uncompressed, seek back to the header and write out the crc and sizes. Bug: 36686974 Test: make ziparchive_tests Change-Id: I61664515e5afa3e2ba814874eeac847a2aaac319