OSDN Git Service

Revert "Free created FileMap when uncompressing files"
authorKenny Root <kroot@google.com>
Wed, 8 Sep 2010 02:30:22 +0000 (19:30 -0700)
committerKenny Root <kroot@google.com>
Wed, 8 Sep 2010 02:30:22 +0000 (19:30 -0700)
commitdc2d840ff76b406131cf0ba8f133778eeabffeab
treed3b29d5d9956edfd93c2016d5d6eb5a40ca2aecd
parentcfaf307ec52c5f89adf1221068e015bfe4f5febb
Revert "Free created FileMap when uncompressing files"

This reverts commit 52b8235238fb4d8cf141020cc1ae33880929dc3f.

munmap() on a region that overlaps something else (e.g, the ZIP Central
Directory in this case) unmaps those other regions as well making the
ZipFileRO class unhappy. Revert this for now until we can have FileMap
deal with this craziness.
libs/utils/ZipFileRO.cpp