Differences From Artifact [c12f6e9a97]:
- File
src/OFZIPArchive.m
— part of check-in
[1de551cb5f]
at
2016-06-07 22:56:28
on branch trunk
— Add support for reusing OFStreams after close
Right now, this is only useful for OFTCPSocket, as this is the only
class so far not establishing the stream in the init method. However,
this adds the general infrastructure to allow reuse to all subclasses of
OFStream. (user: js, size: 13916) [annotate] [blame] [check-ins using]
To Artifact [6a44e68a99]:
- File src/OFZIPArchive.m — part of check-in [7fed52573a] at 2016-10-08 15:57:50 on branch trunk — OFZIPArchive: Fix ZIP64 support (user: js, size: 13924) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
233 234 235 236 237 238 239 | encoding: OF_STRING_ENCODING_CODEPAGE_437] copy]; if (_diskNumber == 0xFFFF || _centralDirectoryDisk == 0xFFFF || _centralDirectoryEntriesInDisk == 0xFFFF || _centralDirectoryEntries == 0xFFFF || _centralDirectorySize == 0xFFFFFFFF || | | | 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 | encoding: OF_STRING_ENCODING_CODEPAGE_437] copy]; if (_diskNumber == 0xFFFF || _centralDirectoryDisk == 0xFFFF || _centralDirectoryEntriesInDisk == 0xFFFF || _centralDirectoryEntries == 0xFFFF || _centralDirectorySize == 0xFFFFFFFF || _centralDirectoryOffset == 0xFFFFFFFF) { int64_t offset64; uint64_t size; seekOrThrowInvalidFormat(_stream, offset - 20, SEEK_END); if ([_stream readLittleEndianInt32] != 0x07064B50) { objc_autoreleasePoolPop(pool); |
︙ | ︙ |