Differences From Artifact [5f89bfb09f]:
- File src/OFZIPArchive.m — part of check-in [037a74f7e6] at 2015-04-13 11:56:17 on branch trunk — OFZIPArchive: Exclude bit 11 from GPBF comparison (user: js, size: 13866) [annotate] [blame] [check-ins using]
To Artifact [ec81a35432]:
- File
src/OFZIPArchive.m
— part of check-in
[178b39b840]
at
2015-04-20 20:54:50
on branch trunk
— OFZIPArchive: Don't compare the GPBF
Some implementations set some bits only in either the Local File Header
or the Central Directory Entry, but not in both. (user: js, size: 13405) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
422 423 424 425 426 427 428 | [_extraField release]; [super dealloc]; } - (bool)matchesEntry: (OFZIPArchiveEntry*)entry { | < < < < < < < < < < < | 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 | [_extraField release]; [super dealloc]; } - (bool)matchesEntry: (OFZIPArchiveEntry*)entry { if (_minVersionNeeded != [entry minVersionNeeded] || _compressionMethod != [entry compressionMethod] || _lastModifiedFileTime != [entry OF_lastModifiedFileTime] || _lastModifiedFileDate != [entry OF_lastModifiedFileDate]) return false; if (!(_generalPurposeBitFlag & (1 << 3))) if (_CRC32 != [entry CRC32] || |
︙ | ︙ |