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: Pavel Raiskup
Subject: Re: [Bug-tar] [PATCH] Do not fail when 'compress' is unable to provide sufficient compress ratio
Date: Mon, 22 Apr 2013 10:08:36 +0200
User-agent: KMail/4.10.1 (Linux/3.8.7-201.fc18.x86_64; KDE/4.10.2; x86_64; ; )

On Tuesday, February 26, 2013 08:32:25 AM Pavel Raiskup wrote:
> On Mon, 2013-02-25 at 11:39 -0800, Paul Eggert wrote:
> > I suggest something simpler: namely, just declare that the
> > -Z (compress) program must conform to the compress API,
> > so that its exit status 2 really means OK.  That way,
> > we can change only src/system.c and NEWS.  The compress API
> > is obsolete and isn't likely to change so this sounds safe.
> 
> Thanks for comments!  Attaching approach with just src/system.c
> and NEWS edited.

Hi, I have looked once again on usual compressors and I see now that not
only 'compress' API exits with 2 exit status in case of warning .. 'gzip',
'xz', 'lzma' and 'lzop' behave similarly.

Attaching probably better fix, any comment is welcome!

Pavel

Attachment: 0001-tar-do-not-fail-hardly-when-compressor-just-warns.patch
Description: Text Data


reply via email to

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