bug-tar
[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: Eric Blake
Subject: Re: [Bug-tar] [patch v3] Bug / question in tar
Date: Thu, 20 Mar 2014 14:01:38 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0

[adding bug-standards]

On 03/20/2014 11:54 AM, Antonio Diaz Diaz wrote:
> Pavel Raiskup wrote:
>> I hope we came to conclusion that we really should not modify output (or
>> program behavior) based on what the output is (that goes against GNU
>> Coding Guidelines).  We can only react on inputs (similarly like in my
>> [v3] patch).  So in that regard I am against that patch.
> 
> As I understand the GNU Coding Standards[1], they refer to sending text
> output to a device (terminal or otherwise). They say nothing about
> sending binary data to a terminal.
> 
> In my opinion, binary data like a tar archive or a compressed file
> should neither be read from nor written to a terminal. In fact writing
> binary data to a terminal can be more destructive (require the use of
> 'reset') than reading binary data from it.
> 
> [1] http://www.gnu.org/prep/standards/html_node/User-Interfaces.html

Then let's see if we can get the GNU Coding Standards updated to clarify
that binary output is indeed different from text output with regards to
the restriction on behaving differently based on an fd being a terminal.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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