[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
signature.asc
Description: OpenPGP digital signature
- Re: [Bug-tar] Bug / question in tar, (continued)
- Re: [Bug-tar] Bug / question in tar, Paul Eggert, 2014/03/12
- Re: [Bug-tar] Bug / question in tar, Pavel Raiskup, 2014/03/12
- Re: [Bug-tar] Bug / question in tar, Paul Eggert, 2014/03/12
- Re: [Bug-tar] Bug / question in tar, Pavel Raiskup, 2014/03/12
- Re: [Bug-tar] Bug / question in tar, Pavel Raiskup, 2014/03/13
- Re: [Bug-tar] [patch v2] Archive contents should not go to/from terminal (was: Bug / question in tar), Pavel Raiskup, 2014/03/13
- Re: [Bug-tar] Bug / question in tar, Paul Eggert, 2014/03/13
- Re: [Bug-tar] [patch v3] Bug / question in tar, Pavel Raiskup, 2014/03/13
- Re: [Bug-tar] [patch v3] Bug / question in tar, Paul Eggert, 2014/03/13
- Re: [Bug-tar] [patch v3] Bug / question in tar, Markus Steinborn, 2014/03/13
- Re: [Bug-tar] [patch v3] Bug / question in tar,
Eric Blake <=
- Re: [Bug-tar] [patch v3] Bug / question in tar, Pavel Raiskup, 2014/03/13
- Re: [Bug-tar] [patch v3] Bug / question in tar, Paul Eggert, 2014/03/13
- Re: [Bug-tar] [patch v3] Bug / question in tar, Pavel Raiskup, 2014/03/13
- Re: [Bug-tar] [patch v3] Bug / question in tar, Paul Eggert, 2014/03/13
- Re: [Bug-tar] [patch v3] Bug / question in tar, Pavel Raiskup, 2014/03/13
- Re: [Bug-tar] [patch v3] Bug / question in tar, Sergey Poznyakoff, 2014/03/14
- Re: [Bug-tar] [patch v3] Bug / question in tar, Pavel Raiskup, 2014/03/14
- Re: [Bug-tar] [patch v3] Bug / question in tar, Markus Steinborn, 2014/03/13
- Re: [Bug-tar] [patch v3] Bug / question in tar, Sergey Poznyakoff, 2014/03/20
- Re: [Bug-tar] [patch v3] Bug / question in tar, Pavel Raiskup, 2014/03/20