Handle write() returning EAGAIN by sleeping and retrying.
authorEmil Mikulic <emikulic@gmail.com>
Sun, 10 Mar 2013 16:57:56 +0000 (03:57 +1100)
committerEmil Mikulic <emikulic@gmail.com>
Sun, 10 Mar 2013 17:26:25 +0000 (04:26 +1100)
Before this change, flow control on the tty caused the entire
program to exit.  After the change, we survive fine, and continue to
write to other file descriptors while the tty is blocked.


No differences found