diff options
author | Mark Adler <madler@alumni.caltech.edu> | 2011-10-12 23:24:31 -0700 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2011-12-11 18:22:04 -0800 |
commit | 98f5779f4257682ba9b5fc490557618e3f15f84b (patch) | |
tree | 09082da8f556b04ba8aa299cf55eb979a3dfa063 /old | |
parent | 70e3b1ca56f2ffe8944d3ac0d59b8781127bf94f (diff) | |
download | zlib-98f5779f4257682ba9b5fc490557618e3f15f84b.tar.gz zlib-98f5779f4257682ba9b5fc490557618e3f15f84b.tar.bz2 zlib-98f5779f4257682ba9b5fc490557618e3f15f84b.zip |
Fix gzeof() to behave just like feof() when read is not past end of file.
Before, gzeof() would return true (accurately) when the last read request
went just up to the end of the uncompressed data. In the analogous case,
feof() would return false, only returning true when a read request goes
past the end of the file. This patch corrects gzeof() to behave in the
same way as feof(), as noted in the zlib.h documentation.
Diffstat (limited to 'old')
0 files changed, 0 insertions, 0 deletions