Since I needed to unzip large files in archives varying from a few MB
to over 3GB, I needed to patch zipvfs. I have added support for
archives that are over 2GB and under 4GB - this required slight
changes in TOC reading.
I have also added z vfs::zstream based channel implementations for
both uncompressed and compressed channels - so that large files do not
have to be fed into a memchan first.
Patch can be found here:
https://sourceforge.net/tracker/?func=detail&aid=3132957&group_id=32692&atid=406310
I noticed tclvfs project on sourceforge.net is not very active so I
decided to post information about it here as well. I noticed there is
a similar patch for vfs::zstream, but it was also in open state.
I also wanted to find other people's comments if this functionality is
working, interesting. If anyone wants to, vfs::zip implementation
should also be quite simple - providing
zstream_{create,delete,put,get} commands.
I have incorporated Wojciech's patch into the Tclvfs project, and he
has kindly tested it and found it works satisfactorily. Thank you!
Going forward I will try to keep the Tclvfs project more active, at
least incorporating contributed patches and bug fixes. If you have
ideas for fixes and improvements, please contribute.
I personally am working on an update to my template vfs package, which
should make virtual filesystems easier to write and use. But that's a
longer-term project (I hope ready for Tcl2011).
--Steve Huntley