From owner-cvs-src@FreeBSD.ORG Fri Jul 30 07:48:48 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 7B34816A4CE; Fri, 30 Jul 2004 07:48:48 +0000 (GMT) Received: from mail004.syd.optusnet.com.au (mail004.syd.optusnet.com.au [211.29.132.145]) by mx1.FreeBSD.org (Postfix) with ESMTP id 81B9343D39; Fri, 30 Jul 2004 07:48:46 +0000 (GMT) (envelope-from PeterJeremy@optushome.com.au) Received: from cirb503493.alcatel.com.au (c211-30-75-229.belrs2.nsw.optusnet.com.au [211.30.75.229]) i6U7mS803126; Fri, 30 Jul 2004 17:48:29 +1000 Received: from cirb503493.alcatel.com.au (localhost.alcatel.com.au [127.0.0.1])i6U7mQVd024536; Fri, 30 Jul 2004 17:48:28 +1000 (EST) (envelope-from pjeremy@cirb503493.alcatel.com.au) Received: (from pjeremy@localhost)i6U7mPr2024535; Fri, 30 Jul 2004 17:48:26 +1000 (EST) (envelope-from pjeremy) Date: Fri, 30 Jul 2004 17:48:25 +1000 From: Peter Jeremy To: Tim Kientzle Message-ID: <20040730074825.GN3001@cirb503493.alcatel.com.au> References: <200407300414.i6U4ElBw068754@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200407300414.i6U4ElBw068754@repoman.freebsd.org> User-Agent: Mutt/1.4.2i cc: cvs-src@freebsd.org cc: src-committers@freebsd.org cc: cvs-all@freebsd.org Subject: Re: cvs commit: src/lib/libarchivearchive_read_support_compression_all.c archive_read_support_compression_bzip2.c archive_write_set_compression_bzip2.c archive_write_set_compression_gzip.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: Fri, 30 Jul 2004 07:48:48 -0000 On Fri, 2004-Jul-30 04:14:47 +0000, Tim Kientzle wrote: > This will allow the library to be easily ported to systems > that don't have these libraries. (Of course, it also means > that clients using the library on such systems will not be > able to take advantage of the automatic compression format > detection.) How difficult would it be to detect bzip2/gzip input and produce a "[bg]zip compression not supported" rather than a generic "this input looks like garbage" message? -- Peter Jeremy