[Top][All Lists]

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

Re: [Bug-tar] I: tar-1.23 SIGPIPE regression

From: Dmitry V. Levin
Subject: Re: [Bug-tar] I: tar-1.23 SIGPIPE regression
Date: Fri, 19 Mar 2010 22:51:11 +0300

On Fri, Mar 19, 2010 at 09:15:28PM +0200, Sergey Poznyakoff wrote:
> Dmitry V. Levin <address@hidden> ha escrit:
> > introduces a regression:
> > 
> > $ touch empty && tar -cf empty.tar empty && tar -tf empty.tar | :
> > tar: write error
> This is intended behavior: instead of silently ignoring the error,
> tar reports it.

I understand that this change was intended, but I'm not sure that all
consequences of the change was taken into account.  Now an innocent code
like "tar -tf $file |grep -q $pattern" produces misleading error output,
and the only way to avoid it is to suppress tar's stderr completely. :(
I hope the change was not designed to produce such a negative side effect.


Attachment: pgpF0YV8tu_qX.pgp
Description: PGP signature

reply via email to

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