libuv/libuv — pull request #83 by bnoordhuis (2014-12-25 13:22:04+00:00)
Title: linux: fix epoll_pwait() sigmask size calculation

Revisit the fix from commit b705b53. The problem with using sigset_t
and _NSIG is that the size of sigset_t and the value of _NSIG depend
on what headers libuv picks up first, or .
With the former, sizeof(sigset_t) = 128; with the latter, it's 8.

Simply sidestep the issue by calculating the signal mask as a 64 bits
integer, without using sigset_t or _NSIG.

R=@saghul. I can back-port the fix to v0.10 afterwards but probably
not the test.