coreutils
[Top][All Lists]
Advanced

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

Re: [PATCH 2/2] tee: add --write-error to control handling of closed pip


From: Pádraig Brady
Subject: Re: [PATCH 2/2] tee: add --write-error to control handling of closed pipes
Date: Mon, 02 Mar 2015 20:20:42 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

On 02/03/15 08:48, Pádraig Brady wrote:
> On 02/03/15 07:20, Bernhard Voelker wrote:
>> On 02/26/2015 10:30 AM, Pádraig Brady wrote:
>>> Perhaps we should generalize this to --on-error to cater for all cases?
>>
>> maybe yes.  We'll only have a problem if the OpenGroup would define
>> the behavior wrt. open() failures in a different direction than our
>> implementation ... which is then bound to the behavior upon write()
>> failures.  I think it would be best to let POSIX clarify on this
>> first.  WDYT?
> 
> It would be an extreme edge case that you'd want to ignore open() errors,
> while honoring write() errors.  I'll send a patch to merge both under the
> --output-error option, rather than --write-error.

attached

Attachment: tee-output-error.patch
Description: Text Data


reply via email to

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