joyent/libuv — pull request #1210 by saghul (2014-03-21 08:31:03+00:00)
Title: unix: fallback to blocking writes if reopening a tty fails

In case reopening the file descriptor fails, fallback to the old
behavior where we do blocking writes, to avoid disrupting other
processes potentially using the file descriptor.