Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Mar 2012 19:19:49 -0400
From:      David Schultz <das@FreeBSD.ORG>
To:        Martin Cracauer <cracauer@FreeBSD.ORG>
Cc:        svn-src-head@FreeBSD.ORG, svn-src-all@FreeBSD.ORG, src-committers@FreeBSD.ORG
Subject:   Re: svn commit: r231449 - head/usr.bin/tee
Message-ID:  <20120317231949.GA25480@zim.MIT.EDU>
In-Reply-To: <201202102216.q1AMGI0m098192@svn.freebsd.org>
References:  <201202102216.q1AMGI0m098192@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Feb 10, 2012, Martin Cracauer wrote:
> Author: cracauer
> Date: Fri Feb 10 22:16:17 2012
> New Revision: 231449
> URL: http://svn.freebsd.org/changeset/base/231449
> 
> Log:
>   Fix bin/164947: tee looses data when writing to non-blocking file descriptors
>   
>   tee was not handling EAGAIN

FWIW, I suspect that most programs are unprepared to deal with a
non-blocking stdout.  I don't think that's a bug on those programs.

Back in the 4.X days, there was a bug in the user-level threading
library that resulted in stdout being marked nonblocking
occasionally, and indeed stuff broke:
http://lists.freebsd.org/pipermail/freebsd-hackers/2005-January/009741.html



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120317231949.GA25480>