coreutils
[Top][All Lists]
Advanced

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

Re: feature proposal for tee: exit immediately when the output pipe clos


From: Jann Horn
Subject: Re: feature proposal for tee: exit immediately when the output pipe closes
Date: Fri, 18 May 2012 21:00:18 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Fri, May 18, 2012 at 04:58:38PM +0200, Jann Horn wrote:
> Hello,
> what would you think about letting "tee" exit immediately when the output 
> pipe was closed? It
> should be pretty straightforward to implement using select/epoll, right?
> 
>  -- Jann

Here's a patch that works for me.

Attachment: 0001-tee-use-poll-to-exit-immediately-when-an-output-clos.patch
Description: Text document

Attachment: pgpKIcOPB68co.pgp
Description: PGP signature


reply via email to

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