mirror of
https://github.com/ruby/ruby.git
synced 2026-01-29 21:44: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