bug-standards
[Top][All Lists]
Advanced

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

Re: [Bug-tar] [patch v3] Bug / question in tar


From: Pavel Raiskup
Subject: Re: [Bug-tar] [patch v3] Bug / question in tar
Date: Wed, 26 Mar 2014 10:58:19 +0100
User-agent: KMail/4.12.3 (Linux/3.13.6-200.fc20.x86_64; KDE/4.12.3; x86_64; ; )

On Tuesday 25 of March 2014 22:51:11 Karl Berry wrote:
> rms is ok with the exception for binary output to the terminal, and
> wants this text:
>
>     There is an exception for programs whose output in certain cases is
>     binary data.  Sending such output to a terminal is useless and can
>     cause trouble.  If such a program normally sends its output to
>     stdout, it should detect, in these cases, when the output is a
>     terminal and give an error message instead.  The -f option should
>     override this exception, thus permitting the output to go to the
>     terminal.

Thanks a lot for processing this.  This is kind of philosophical thread
and I recall one thing:  should we take the detection of /dev/null output
as an OK exception?

 tar/src/create.c:
 482   if (dev_null_output)
 483     return totals_option && sparse_option && ST_IS_SPARSE (*st);

Pavel




reply via email to

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