Kenny Root 6cb241f902 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
..
2010-08-11 00:29:59 -07:00
2009-07-07 10:01:12 -07:00
2009-03-03 19:31:44 -08:00
2009-05-31 19:13:00 -07:00
2010-08-18 09:34:58 -07:00
2010-08-11 00:29:59 -07:00
2010-05-28 15:13:30 -07:00
2010-05-19 15:12:59 -07:00