]> granicus.if.org Git - php/commit
Fix for 19906.
authorWez Furlong <wez@php.net>
Tue, 15 Oct 2002 16:01:00 +0000 (16:01 +0000)
committerWez Furlong <wez@php.net>
Tue, 15 Oct 2002 16:01:00 +0000 (16:01 +0000)
commit30f9c47d615aa2375b2272567c4a226e928fe61f
treee997f191859ded7ad1a9c4dca9cc32f79d4565b2
parent57440cc9842901d43e7550401cd42874f6b3c56e
Fix for 19906.
gzeof has different semantics from feof, in that gzeof will return true
if the read position is at EOF, even if the most recent read was 100%
successful.
feof will return true only (usually) if the most recent fread failed.
ext/zlib/zlib_fopen_wrapper.c