Re: Possible patch to ZipOutputStream

2003-07-22 Thread Stefan Bodewig
Thanks again, Richard, I've modified you patch slightly, basically changing the writeOut methods as well as the def and buf members to protected. The methods will be useful to subclasses (if there should be any) and def and buf used to be protected as ZipOutputStream inherited them from DeflaterO

Re: Possible patch to ZipOutputStream

2003-07-17 Thread Stefan Bodewig
On Thu, 17 Jul 2003, Richard Evans <[EMAIL PROTECTED]> wrote: > I have attached patches below to ZipOutputStream.java and Zip.java > which use a RandomAccessFile where possible to create the file. I only had time to quickly glance over the patch. I'll play with it and take care of either coming

Possible patch to ZipOutputStream

2003-07-17 Thread Richard Evans
Zip files created with the zip task store the CRC and size of deflated entries in the data descriptor _following_ the actual data. This means that if the zip file is processed later using a ZipInputStream, it is not possible to determine the CRC and size of each entry until the data has been read