home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 9 Archive
/
09-Archive.zip
/
UnzpHist.zip
/
History.311
< prev
next >
Wrap
Text File
|
1990-08-22
|
2KB
|
44 lines
*******************************
v3.11, 22 Aug 90
From: Cave Newt <roelofs@amelia.nas.nasa.gov>
Subject: MULTICOMPILE patches
Here are my changes to allow either "incremental" compiling (each of
file_io.c, unimplod.c, unreduce.c and unshrink.c can be compiled into
its own object file) or the old type (aforesaid files are just included
into unzip.c and compiled as one big monster). Choosing one or the
other involves commenting/uncommenting 3 lines in the makefile (as I
have it below, the new way [incremental] is enabled).
The changes basically involved the following: moving all the global
variable declarations in file_io.c back to unzip.c; creating another
include file (globals.h) which contains all the extern declarations
for the global variables; adding two conditional includes ("unzip.h"
and "globals.h") to each of the four files mentioned above; and
making Bill Davidsen's inclusion of the four files into unzip.c con-
ditional in the opposite sense (i.e., only if MULTICOMPILE is *not*
defined). It sounds worse than it is...
[All this is contained in v308x.zip in context diffs, etc.
An entirely new Makefile from the Cave Newt replaces the one in
v308x.zip.
unzip v3.11 has all these changes posted. However, it's only been
tested on my VAX (4.3BSD) and (I guess) the Cave Newt's system.
Then I posted the context diffs for implementing the creation of dirs
during an extraction. The -d option enables this.
These have been tested on Pyramid, SunOS 4.1, and VAX/4.3bsd.
Thanks to James Dugal, jpd@pc.usl.edu, for this one.
Also added the new file comment.zip. It's basically the multi-
directory test file levels.zip, but has a BIG comment at the end.
We're using this to test central zip directory access via zipinfo.c
(yet ANOTHER test file I'm including here).
Some of this'll go away once our new Unix zip program gets under way.
David Kirschbaum
Info-ZIP Coordinator]