joyent/libuv — pull request #989 by indutny (2013-11-08 13:55:17+00:00)
Title: linux: update nevents only on cb invocation

Do not touch `nevents` variable, if there were no invocations of watcher
callback. Otherwise `uv__io_poll()` may return without timeouting and
invoking any of callbacks.

/cc @bnoordhuis