Can I also try to clarify?
- Zip is an archive file format. It store compressed files. Archive
start with 'PK' and end with a directory of included files. You can
easily get a list of included files by reading the end of the file.
- zlib is a compression library; i
Then it won't hurt to make it current :) It would be easy to test, too.
My Linux builds use -lz to pull zlib in.
I would guess that Borland makes it available for linking, too.
I wonder if that would be an option with minizip. Both from a Linux
perspective and a Borland one.
-- DM
On Sep 20,
OK, I'm wrong a little.
We compile one file: untgz.c
"Troy A. Griffitts" <[EMAIL PROTECTED]> wrote:
>DM Smith <[EMAIL PROTECTED]> wrote:
>>Found out a bit more:
>>Sword uses a 2002 copy of zlib. It has been updated since then with
>>bug, security and performance fixes.
>
>Thanks for all the i
DM Smith <[EMAIL PROTECTED]> wrote:
>Found out a bit more:
>Sword uses a 2002 copy of zlib. It has been updated since then with
>bug, security and performance fixes.
Thanks for all the investigation DM!
Just to clarify: From memory, I don't believe the SWORD engine actually
uses the copy of z
Found out a bit more:
Sword uses a 2002 copy of zlib. It has been updated since then with
bug, security and performance fixes.
On Sep 20, 2007, at 10:02 PM, DM Smith wrote:
More results of exploration:
At zlib.net, the home of the zlib code, there is a faq question
regarding zip archives
More results of exploration:
At zlib.net, the home of the zlib code, there is a faq question
regarding zip archives with a recommended solution:
11. Can zlib handle .zip archives?
Not by itself, no. See the directory contrib/minizip in
the zlib distribution.
Minizip is what
Troy,
I studied the untargz code and all the other code in the zlib
directory. It does not apply to zip files. A zipfile has a table of
contents and the zlib code does not read it. An entry in the TOC will
have the location of the file and it's size in the zipfile and how it
is stor
There is already code to unpack the mods.d.tar.gz file. I believe the code
we used for that came from the zlib project. It may be similar to what you
need to do for a zip file. I can't remember offhand.
DM Smith <[EMAIL PROTECTED]> wrote:
>I'm looking into adding to installmgr the download of
I'm looking into adding to installmgr the download of a cached zipped
module, if present at the download site. Otherwise the code will work as
before.
I've run into an obstacle: zlib cannot read the "table of contents" in a
zipfile. I'm looking for a portable way to do the unzip. Any suggestion