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, 13 Mar 2014 13:02:23 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0

On 03/13/2014 12:00 PM, Paul Eggert wrote:
> On 03/13/2014 10:32 AM, Pavel Raiskup wrote:
>> Strictly
>> speaking, GNU Coding Guidelines are talking about program_output_
> 
> You're right, and I hadn't noticed that.  How about doing things the way
> xargs does them, as Eric Blake pointed out?  That seems like a nice
> compromise.

Indeed, the xargs example modifies output according to whether stdin was
a terminal; likewise for the lzip case.  Your patch looks reasonable to
me (changing behavior solely on whether stdin is hooked to something
unlikely to be able to provide full binary input, and not on whether
stdout is a terminal or not).

-- 
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]