Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jul 2004 17:48:25 +1000
From:      Peter Jeremy <PeterJeremy@optushome.com.au>
To:        Tim Kientzle <kientzle@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
Message-ID:  <20040730074825.GN3001@cirb503493.alcatel.com.au>
In-Reply-To: <200407300414.i6U4ElBw068754@repoman.freebsd.org>
References:  <200407300414.i6U4ElBw068754@repoman.freebsd.org>

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



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