From owner-cvs-src@FreeBSD.ORG Thu May 27 10:14:34 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3E22416A4CE; Thu, 27 May 2004 10:14:34 -0700 (PDT) Received: from kientzle.com (h-66-166-149-50.snvacaid.covad.net [66.166.149.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id A072843D4C; Thu, 27 May 2004 10:14:33 -0700 (PDT) (envelope-from tim@kientzle.com) Received: from kientzle.com (p54.kientzle.com [66.166.149.54]) by kientzle.com (8.12.9/8.12.9) with ESMTP id i4RHDn90095600; Thu, 27 May 2004 10:13:49 -0700 (PDT) (envelope-from tim@kientzle.com) Message-ID: <40B621CC.2060702@kientzle.com> Date: Thu, 27 May 2004 10:13:48 -0700 From: Tim Kientzle User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20031006 X-Accept-Language: en-us, en MIME-Version: 1.0 To: =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= References: <200405270358.i4R3wtdd064004@repoman.freebsd.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit cc: cvs-src@FreeBSD.org cc: Tim Kientzle cc: cvs-all@FreeBSD.org cc: src-committers@FreeBSD.org Subject: Re: cvs commit: src/lib/libarchive archive_read_support_compression_compress.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 May 2004 17:14:34 -0000 Dag-Erling Smørgrav wrote: > Tim Kientzle 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