[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-commits-all
Subject:    Re: cvs
From:       Tim Kientzle <kientzle () freebsd ! org>
Date:       2004-08-01 20:34:46
Message-ID: 410D53E6.7060406 () freebsd ! org
[Download RAW message or body]

Peter Jeremy wrote:
> 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?

Pretty simple.  Basically, leave the bid function
alone and replace the read function with one that always
returns an error.

I'll put it on my to-do list.  Of course, if
someone would like to send me some diffs,
it would get done sooner. ;-)

Tim

_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic