Differences From Artifact [6767b2487a]:
- File src/OFDeflateStream.m — part of check-in [24338bc6c9] at 2016-05-29 14:41:50 on branch trunk — OFDeflate64Stream: Fix window size (user: js, size: 20149) [annotate] [blame] [check-ins using]
To Artifact [c4f1ea9fcd]:
- File
src/OFDeflateStream.m
— part of check-in
[8e4451aee2]
at
2016-05-29 19:43:34
on branch trunk
— OFDeflateStream: Fix -[isAtEndOfStream]
Returning true if _decompression is NULL is a bad idea, as it means
-[isAtEndOfStream] will return true when no read has happened yet. This
breaks the common case where -[isAtEndOfStream] is checked in the loop
condition and the read only happens in the loop body. (user: js, size: 20150) [annotate] [blame] [check-ins using]
︙ | |||
820 821 822 823 824 825 826 | 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 | - + | OF_UNREACHABLE } #ifndef DEFLATE64 - (bool)lowlevelIsAtEndOfStream { if (_decompression == NULL) |
︙ |