bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-tar] [PATCH] Do not fail when 'compress' is unable to provide s


From: Paul Eggert
Subject: Re: [Bug-tar] [PATCH] Do not fail when 'compress' is unable to provide sufficient compress ratio
Date: Fri, 26 Apr 2013 01:00:25 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130329 Thunderbird/17.0.5

On 04/26/2013 12:56 AM, Pavel Raiskup wrote:
> So you think something like remove the leading path '/usr/bin/' before
> comparison with 'GZIP_PROGRAM'?

I'm afraid that will lead to even more confusion; among other things,
tar shouldn't care what the program names are.

It may be better to have two different options.  One, designed
for programs that behave like 'compress' does, where exit status 2
is OK.  The other, for "normal" programs, where only exit status 0
is OK.  When tar infers a compressor it can also infer which of these
two options to use.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]