replicant-frameworks_native/include/utils
Kenny Root dbf6f272a2 ZipFileRO: moar logging and wrap close
There is apparently still a race upon reading the entry Local File
Header that can't be tracked down, so move the LFH check inside the
mutex-protected block so we can call lseek again to see where we are
when we log an error.

Also, close() can fail so use TEMP_FAILURE_RETRY on it so we don't
unwittingly leak file descriptors when Mean Mr. EINTR comes a-knocking.

Change-Id: I753abad0bd882fe28f7281c406fa76f64393ef4c
2010-10-01 18:30:59 -07:00
..
ashmem.h
Asset.h
AssetDir.h
AssetManager.h
Atomic.h
BackupHelpers.h
BitSet.h
BufferedTextOutput.h
ByteOrder.h
CallStack.h
Debug.h
Endian.h
Errors.h
FileMap.h
Flattenable.h
KeyedVector.h
List.h
Log.h
Looper.h
misc.h
ObbFile.h
Pool.h
RefBase.h
ResourceTypes.h
SharedBuffer.h
Singleton.h
SortedVector.h
StopWatch.h
StreamingZipInflater.h
String8.h
String16.h
StringArray.h
SystemClock.h
TextOutput.h
threads.h
Timers.h
TypeHelpers.h
Vector.h
VectorImpl.h
ZipFileCRO.h
ZipFileRO.h ZipFileRO: moar logging and wrap close 2010-10-01 18:30:59 -07:00
ZipUtils.h