mirror of
https://github.com/ruby/ruby.git
synced 2026-08-08 15:08:11 +08: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