From: Robert Evans Date: 2005-10-01T01:56:30+09:00 Subject: Re: rubyzip problem with local header magic Hi Thomas, Thanks for the tip, and thanks again for writing rubyzip. I'm not inconvenienced at all :-) Bob Evans On Sep 30, 2005, at 12:51 AM, Thomas Sondergaard wrote: > Robert Evans wrote: >> Hi, >> I was using the rubyzip library (v0.5.12 on OS X 10.4) to read some >> zips created by Java's ZipOutputStream (Java 1.5) classes. > > I think the problem is that ZipInputStream is slightly broken - it > does not support ZipFiles created with DataDescriptors trailing each > entry. It should be very simple to fix, but I don't have time for it > now. If this is indeed the problem it can be circumvented by using the > ZipFile class, which reads the zip central directory structure, and > use that to iterate through the entries. > > Sorry for the inconvenience > > Thomas >