mirror of
https://github.com/ruby/ruby.git
synced 2026-01-28 21:14:28 +00:00
Only consider it eof if we read ahead and something fills the buf. If not, we may only have empty blocks and the footer. Fixes https://github.com/ruby/zlib/pull/56 https://github.com/ruby/zlib/commit/437bea8003