aboutsummaryrefslogtreecommitdiff
path: root/libdex/ZipArchive.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix mac sdk buildKenny Root2013-09-191-0/+1
| | | | | | | | Macs don't have off64_t and instead use loff_t. This is taken care of in the Compat.h header from system/core. Include that. Bug: 10424836 Change-Id: Ic892e1edfecab502159209d463394864370c5537
* Reconcile differences between zip implementationsKenny Root2013-09-181-57/+137
| | | | | | | Copy new behavior of ZipFileRO to dalvik's ZipArchive.cpp Bug: 10424836 Change-Id: Ic0ce11281f7318abda9d3c8062a095186448d2a9
* Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGESteve Block2012-01-081-1/+1
| | | | | | | | | See https://android-git.corp.google.com/g/#/c/157220 Also fix an occurrence of LOGW missed in an earlier change. Bug: 5449033 Change-Id: I2e3b23839e6dcd09015d6402280e9300c75e3406
* Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF) DO NOT MERGESteve Block2012-01-061-24/+24
| | | | | | | See https://android-git.corp.google.com/g/157065 Bug: 5449033 Change-Id: Ia5d301248024df26c2a29dabdfe738e39ec87c82
* Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF) DO NOT MERGESteve Block2012-01-031-1/+1
| | | | | | | See https://android-git.corp.google.com/g/156016 Bug: 5449033 Change-Id: Ic663376d1ad6a6cb14bf81405ad9afd247cf2f60
* Rename (IF_)LOGV(_IF) to (IF_)ALOGV(_IF) DO NOT MERGESteve Block2011-10-261-8/+8
| | | | | | | See https://android-git.corp.google.com/g/#/c/143865 Bug: 5449033 Change-Id: I8bd96961e369a08e86ff78b82d90f20f42787eb1
* Fix memory leak in mapCentralDirectory.Jeff Brown2011-07-191-28/+28
| | | | | | | | | | | | | Bug: 4984352 mapCentralDirectory was allocating a buffer of size 65557 that it passed to mapCentralDirectory0. Then mapCentralDirectory0 was reallocating a new buffer which it failed to free. This patch rearranges the code a little to ensure that only buffer gets allocated and it gets freed. Change-Id: I3b22e2b904f6e7584ab8a3af49c8f1350a40be87
* Conservation of newlines in libdex.Dan Bornstein2011-05-251-34/+34
| | | | | | | The log facility adds newlines automatically, and the prevailing convention is now to omit them. Change-Id: I14762ea4a7c24eea333f778724a0e4b6b65bae2b
* Compile libdex as C++.Dan Bornstein2011-04-141-0/+732
The major-looking code changes were all just to unravel some gotos. Change-Id: I86f98a48b160f357ce93c87446bad5d705d5f05b