commit | 639814d946867c20537820cd0c08a6202a251583 | [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 | 3dcd014ef422fb46ef2506d74326d0dc4d8655ef [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