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
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to