platform_system_core/libziparchive
Adam Lesinski b1911401e0 libziparchive: ensure ReadAtOffset is atomic
ag/880725 modified ReadAtOffset to seek then read from the open
file descriptor. Previously pread64 was used to provide atomic
behaviour.

This causes races when multiple threads are trying to access data from
the file. This is supported, so this change reverts the relevant parts
of the above CL to restore the old behaviour.
Bug:27563413

Change-Id: I7bffd78da8c558745dfc3c072ba9691b1b15bb5b
2016-03-09 17:17:19 -08:00
..
testdata Add a ZipArchiveStreamEntry class. 2016-01-14 12:30:20 -08:00
Android.mk libziparchive: port unit tests to darwin and windows. 2016-03-07 11:21:24 -08:00
entry_name_utils-inl.h Reject zip archives whose entry names are not valid UTF-8. 2014-12-08 12:25:05 +00:00
entry_name_utils_test.cc Reject zip archives whose entry names are not valid UTF-8. 2014-12-08 12:25:05 +00:00
zip_archive.cc libziparchive: ensure ReadAtOffset is atomic 2016-03-09 17:17:19 -08:00
zip_archive_common.h Track rename of base/ to android-base/. 2015-12-04 22:00:26 -08:00
zip_archive_private.h Add a ZipArchiveStreamEntry class. 2016-01-14 12:30:20 -08:00
zip_archive_stream_entry.cc Add a ZipArchiveStreamEntry class. 2016-01-14 12:30:20 -08:00
zip_archive_test.cc libziparchive: port unit tests to darwin and windows. 2016-03-07 11:21:24 -08:00
zip_writer.cc Allow setting an arbitrary alignment for an entry. 2016-01-19 13:55:53 -08:00
zip_writer_test.cc libziparchive: port unit tests to darwin and windows. 2016-03-07 11:21:24 -08:00