joyent/libuv — pull request #524 by indutny (2012-08-11 18:52:21+00:00)
Title: process: ignore zero errno reads on osx

When doing poll(2) with SIGHUP bitmask on OSX resulting `revents` will
containt SIGIN even if no data is actually available on file.

Fixes #522