Differences From Artifact [06231a6b0d]:
- File src/OFZIPArchive.m — part of check-in [de6e2319ca] at 2017-08-14 00:45:43 on branch trunk — OFZIPArchive(Entry): A logic and a typo fix (user: js, size: 22437) [annotate] [blame] [check-ins using]
To Artifact [85b7d55558]:
- File
src/OFZIPArchive.m
— part of check-in
[6a474ba752]
at
2017-08-14 00:49:10
on branch trunk
— OFZIPArchive: Set CRC32 to 0, not -1
This was accidentally changed when ZIP64 write support was added. (user: js, size: 22462) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
519 520 521 522 523 524 525 | [_stream writeLittleEndianInt32: 0x04034B50]; [_stream writeLittleEndianInt16: [entry minVersionNeeded]]; [_stream writeLittleEndianInt16: [entry generalPurposeBitFlag]]; [_stream writeLittleEndianInt16: [entry compressionMethod]]; [_stream writeLittleEndianInt16: [entry of_lastModifiedFileTime]]; [_stream writeLittleEndianInt16: [entry of_lastModifiedFileDate]]; | | | > | 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 | [_stream writeLittleEndianInt32: 0x04034B50]; [_stream writeLittleEndianInt16: [entry minVersionNeeded]]; [_stream writeLittleEndianInt16: [entry generalPurposeBitFlag]]; [_stream writeLittleEndianInt16: [entry compressionMethod]]; [_stream writeLittleEndianInt16: [entry of_lastModifiedFileTime]]; [_stream writeLittleEndianInt16: [entry of_lastModifiedFileDate]]; /* We use the data descriptor */ [_stream writeLittleEndianInt32: 0]; /* We use ZIP64 */ [_stream writeLittleEndianInt32: 0xFFFFFFFF]; [_stream writeLittleEndianInt32: 0xFFFFFFFF]; [_stream writeLittleEndianInt16: fileNameLength]; [_stream writeLittleEndianInt16: extraFieldLength + 20]; offsetAdd += 4 + (5 * 2) + (3 * 4) + (2 * 2); [_stream writeString: fileName]; |
︙ | ︙ |