Subject: gzip(1) (was: CVS commit: src/usr.bin/gzip)
To: None <current-users@NetBSD.org>
From: Matthias Scheler <tron@zhadum.de>
List: current-users
Date: 03/31/2004 10:40:21
In article <1080638573.229183.546.nullmailer@yamt.dyndns.org>,
YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp> writes:
>> Log Message:
>> patch from tron@ to convert to using public bz interfaces. simonb says
>> no reason not to and this fixes PR#24964.
> doesn't this make auto format detection for stdin harder?
Yes, indeed. That's why I didn't commit that patch myself initially because
I wasn't sure why the file I/O function from "libbz2" aren't used. Looking
add adding stdin ".bz2" detection later I realized why it was implemented
that way.
> i'd suggest the following instead.
Yes, I found the real bug later, too, after staring at the code for
about an hour.
Kind regards
--
Matthias Scheler http://scheler.de/~matthias/