diff options
| author | Adam Lesinski <adamlesinski@google.com> | 2017-03-29 16:10:11 -0700 |
|---|---|---|
| committer | Adam Lesinski <adamlesinski@google.com> | 2017-04-06 17:03:32 -0700 |
| commit | e2fa70bcb048566eff4d0e271288f24f0bdbc0a8 (patch) | |
| tree | 6ff0407b9ef12c67958e576f004642377c1ab39c /libcutils/socket_local_server_unix.cpp | |
| parent | 0e19795a621ddb9912edc58b832f078405e485fd (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.
(cherry-pick of commit 639814d946867c20537820cd0c08a6202a251583)
Bug: 36686974
Test: make ziparchive_tests
Change-Id: I61664515e5afa3e2ba814874eeac847a2aaac319
Diffstat (limited to 'libcutils/socket_local_server_unix.cpp')
0 files changed, 0 insertions, 0 deletions
