cvs commit: src/lib/libarchive archive_read_support_compression_compress.c

Tim Kientzle tim at kientzle.com
Thu May 27 10:14:34 PDT 2004


Dag-Erling Smørgrav wrote:
> Tim Kientzle <kientzle at FreeBSD.org> writes:
> 
>>  Log:
>>  Add read-only support for .Z compressed archives.
> 
> 
> Why read-only?

Compression and decompression support in
libarchive are completely independent.
This commit implements the decompression
side (with full auto-format detection, of
course).

I haven't bothered to implement the
compression side for a couple of reasons:

  * I have limited time.  If someone else
    would like to tackle this, I'd be happy
    to provide suggestions, review code,
    commit code, etc.
  * Nonexistent demand.  Noone has asked.
    Personally, it's been years since
    I created a .Z compressed archive.
  * Low need.  When creating an archive,
    you have to select the compression
    manually, regardless of whether you specify
    it with "-Z" or "|compress".  On the read
    side, the automatic format detection
    changes the usability picture considerably.

Tim



More information about the cvs-all mailing list