joyent/libuv — pull request #674 by indutny (2013-01-02 08:57:23+00:00)
Title: stream: fix infinite select() polling on osx

Interruption FD buffer should be emptied after write, otherwise select()
loop will poll indefinitely.

/cc @bnoordhuis