From owner-freebsd-arch@FreeBSD.ORG Wed Jan 14 18:28:14 2004 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4331616A4CE for ; Wed, 14 Jan 2004 18:28:14 -0800 (PST) Received: from f4.mail.ru (f4.mail.ru [194.67.57.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1544343D1D for ; Wed, 14 Jan 2004 18:28:13 -0800 (PST) (envelope-from vladimir-dozen@mail.ru) Received: from [213.170.97.162] (port=1394 helo=mail.ru) by f4.mail.ru with esmtp id 1AgxEx-000H7z-00; Thu, 15 Jan 2004 05:28:11 +0300 Message-ID: <4005FAB4.7070304@mail.ru> Date: Wed, 14 Jan 2004 21:28:04 -0500 From: Vladimir Dozen User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: ru, en-us, en MIME-Version: 1.0 To: freebsd-arch@freebsd.org References: <4004D445.7020205@acm.org> <20040114234829.GA19067@cat.robbins.dropbear.id.au> <4005EB9D.50506@acm.org> In-Reply-To: <4005EB9D.50506@acm.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam: Not detected cc: kientzle@acm.org Subject: Re: Request for Comments: libarchive, bsdtar X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jan 2004 02:28:14 -0000 ehlo. > so I want to make sure it's well-tested BTW, how do you perform testing of the library/tar? This kind of code should (shall) contain almost 100% automated test coverage, in my opinion. It's due to it's complexity and extremely wide usage. >> - I would prefer it if compression was done by opening a pipe to >> gzip/bzip2 instead of using libz/libbz2. > Not really simpler for the library, and definitely not simpler > for clients of the library. Yeah. Spawning a process from inside the library is a bad idea, IMO. The right way to avoid code duplication between gzip and libarchive is to use common libgzip. The same applies to bzip and compress. dozen http://dozen.ru