bug-tar
[Top][All Lists]
Advanced

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

Re: [Bug-tar] [patch v2] Archive contents should not go to/from terminal


From: Pavel Raiskup
Subject: Re: [Bug-tar] [patch v2] Archive contents should not go to/from terminal (was: Bug / question in tar)
Date: Thu, 13 Mar 2014 17:29:31 +0100
User-agent: KMail/4.12.3 (Linux/3.13.6-200.fc20.x86_64; KDE/4.12.3; x86_64; ; )

On Thursday, March 13, 2014 09:21:44 Pavel Raiskup wrote:
> > We could detect that archive contents are coming from terminal input and
> > fail immediately (IIRC tar waits indefinitely ATM until it's input is cut
> > by ctrl+d or it is killed).
> 
> I meant something like the patch attached, could you please consider?

[patch v2] attached as we should cover also e.g. compressed archives

> I tried to write testcase for this and I failed to find proper 'script'
> alternative tool among coreutils, is there some?  I could rewrite it then.
> 
> Pavel

Attachment: 0001-tar-fail-if-archive-comes-directly-to-from-terminal.patch
Description: Text Data


reply via email to

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