svn commit: r231449 - head/usr.bin/tee

David Schultz das at FreeBSD.ORG
Sat Mar 17 23:38:52 UTC 2012


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


More information about the svn-src-head mailing list