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: Fri, 26 Apr 2013 09:42:47 +0200
User-agent: KMail/4.10.2 (Linux/3.8.8-202.fc18.x86_64; KDE/4.10.2; x86_64; ; )

> Still, the current patch doesn't seem quite right;
> what if the user specifies -I/usr/bin/gzip, or
> something like that?  It seems to me that we need
> to let the user specify one or more "ok exit statuses",
> i.e., exit statuses to treat as if they were zero.

I think that the '-I' should define perfectly the program return values.
So the -I /usr/bin/gzip could be considered like bad usage - and tar
behaves like this now.

Do you want some new "relaxing" option for specifying correct exit values?
Possibly --relax-compressor-exit (or any other idea)?  I'm partly against
this because it complicates tar's api & user is always able to write
very simple wrapper, but I'd be glad to implement it if you don't want to
do it yourself.

Pavel




reply via email to

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