cvs commit: src/usr.bin/unzip Makefile unzip.1 unzip.c

Tim Kientzle kientzle at freebsd.org
Tue Jan 15 19:48:59 PST 2008


> The four files I've identified are:

Ah!  Thanks for the list.  Now that I'm back
from vacation, I've been meaning to ask you
for that.

> Two of them are self-extracting.  ...   requires a few changes
> in the API between the libarchive core and the support modules, which is
> a published API ...

I still have a faint hope that we can support this without
the changes DES is proposing, but he's probably right.
(In particular, I would like to be able to extract
SFX archives from stdin, which requires that we avoid
seeking.)

I hope to do some experiments in the next few days
to see if I can come up with anything.  Though by
then, DES may well have demonstrated that his
approach isn't as complicated as I thought.

> AFAICT, the other two files simply have a dummy local header ("PK00") at
> the beginning, which requires a trivial modification to the existing zip
> support code to handle.

I just committed a fix for this.  PK00 is documented as a marker
that indicates a multi-part Zip archive which has only one part.
libarchive in -CURRENT now recognizes and ignores this marker.

993 down, two to go.  ;-)

Tim Kientzle


More information about the cvs-src mailing list