summaryrefslogtreecommitdiff
path: root/libs/ui/InputReader.cpp
diff options
context:
space:
mode:
author Kenny Root <kroot@google.com> 2010-10-01 18:28:28 -0700
committer Kenny Root <kroot@google.com> 2010-10-01 18:30:59 -0700
commitdbf6f272a2cad97f7ce7fa600ffd2220483c80d1 (patch)
treeae9d3d9b481447694e60818de052cfde52d689a4 /libs/ui/InputReader.cpp
parentdb193288b23381f8ee9938e53015e31395bc2cd4 (diff)
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
Diffstat (limited to 'libs/ui/InputReader.cpp')
0 files changed, 0 insertions, 0 deletions