platform_system_core/libziparchive
Badhri Jagan Sridharan a68d0d1fe4 libziparchive: fix fallocate failures
The objective of fallocate call seems to be to
make sure that we have enough enough space left
in the disk to house the uncompressed file.
But, fallocate is only supported in the following
file systems:
btrfs, ext4, ocfs2, and xfs

Return error only when fallocate fails due to
lack of space. The immediate ftruncate call is
going to take of the majority of other errors.

Bug: 21561449
Change-Id: I7083f3c7e5d745bd6e8a190ac9020297d638d9d4
2015-06-03 11:02:26 -07:00
..
testdata libziparchive: fix issue with a directory with one file 2015-03-19 09:28:41 +00:00
Android.mk Revert "Fix ODR issues in ART." 2015-05-30 00:47:30 +00: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: fix fallocate failures 2015-06-03 11:02:26 -07:00
zip_archive_test.cc Avoid mapping output to memory while writing to a file. 2015-04-27 13:34:18 +01:00