Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jan 2008 19:48:55 -0800
From:      Tim Kientzle <kientzle@freebsd.org>
To:        =?UTF-8?B?RGFnLUVybGluZyBTbcO4cmdyYXY=?= <des@des.no>
Cc:        cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org, obrien@freebsd.org
Subject:   Re: cvs commit: src/usr.bin/unzip Makefile unzip.1 unzip.c
Message-ID:  <478D7EA7.8080003@freebsd.org>
In-Reply-To: <86y7aqbuuw.fsf@ds4.des.no>
References:  <200801080800.m08806jI012963@repoman.freebsd.org>	<478A8FFE.8080602@freebsd.org> <478A95F2.1070709@FreeBSD.org>	<478AA9E4.2010807@kientzle.com> <478ABC4B.8080601@FreeBSD.org>	<20080114181154.GA2286@dragon.NUXI.org> <478BC55B.2060202@FreeBSD.org>	<20080114223239.GC56062@VARK.MIT.EDU> <478BE651.1020901@FreeBSD.org> <86y7aqbuuw.fsf@ds4.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?478D7EA7.8080003>