Re: Bug#736872: busybox: zcat does not decompress file which do not have a .gz suffix
On Tue, 28 Jan 2014 09:52:27 +0000
Ian Campbell <ijc@hellion.org.uk> wrote:
> On Tue, 2014-01-28 at 13:07 +0400, Michael Tokarev wrote:
> > Uncortunately, this whole mess around compression introduces
> > another issue. After the 2 fixes for this bug, busybox zcat happily
> > accepts uncompressed input and behaves like regular cat, while
> > original zcat refuses to accept uncpmpressed input. I reported
> > this upstream.
>
> Ugh, nasty. (It seems to me that the code is simply trying to be too
> clever...)
>
> > But I think it is better
> > to accept and use uncompressed data than to fail to decompress
> > compressed data, and the current bug is indeed serious enough to
> > have a quick fix.
>
> I agree.
>
> > Thank you!
>
> Thanks for the speedy upload!
>
> Ian.
>
>
Reply to: