Hi all,
Attached are the patches we have for the Compression-Zlib package.
These fixes will solve the following issues:
- When trying to calculate the crc in text mode the call to cCrc32:
crc buffer: collection length: length fails with a bad argument 2. The
collection argument is a string and the dllcc interface does some magic
with it and doesn't accept it anymore as a valid argument. Passing the
collections fixedHeapAddress (the collection lives in FixedSpace) will
solve the problem since no magic is being done.
- Trying to put multiple strings on the stream and flushing in
between will also fail. The current implementation close the stream
when DeflateStream>>writeBuffer is called with true. This is done
in the flush method. Included is a new version of the flush
functionality.
Furthermore
I request that the zlib version in the vm is updated. Currently 1.1.4
is used. The latest version is 1.2.3 from July 18, 2005. This version
is a lot quicker than the 1.1.4 version.
Since these issues also exist on 7.5.1 I will post this also on the VW
Dev list
Regards,
Cham