From: Eric Hodel Date: 2008-05-29T13:52:50+09:00 Subject: Re: [PATCH] ZLIB for MSVC 8 - tar_input.rb On May 28, 2008, at 19:48 PM, Giancarlo F Bellido wrote: > I managed to install wxruby and compile zlib extension using this > patch in > ruby trunk. Using zlib 1.2.3 (zlib1.lib) and removing the hack in > tar_input.rb. Tested in windows XP SP3 MSVC8(2005) and ubuntu linux > using > zlib1g-dev package. Anyone knows if the tar_input.rb workaround > still works > in other systems? Why did you remove the workaround in tar_input.rb? I don't see how the second half of your patch would affect it. I seem to recall the hack in tar_input.rb exists for MSVC6. I don't recall any known way to reproduce it. Something in the gzip header would cause inflate to fail incorrectly. Since gzip is just an extra 10 byte header added to the front of the inflate algorithm, there should be no reason to remove the hack.