diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2012-11-16 17:57:15 +0100 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2012-11-16 17:58:42 +0100 |
commit | b6a3b0a6297ee205aa34d357edd55b79f91cdf09 (patch) | |
tree | f962b088681f43d7a17615cad54fedbf938b00f8 /deps/uv/src/unix/fsevents.c | |
parent | e2bcff9aa75e51b9ba071330fe712180abed03e0 (diff) | |
download | android-node-v8-b6a3b0a6297ee205aa34d357edd55b79f91cdf09.tar.gz android-node-v8-b6a3b0a6297ee205aa34d357edd55b79f91cdf09.tar.bz2 android-node-v8-b6a3b0a6297ee205aa34d357edd55b79f91cdf09.zip |
deps: upgrade libuv to 665a316
Diffstat (limited to 'deps/uv/src/unix/fsevents.c')
-rw-r--r-- | deps/uv/src/unix/fsevents.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/deps/uv/src/unix/fsevents.c b/deps/uv/src/unix/fsevents.c index 02565f3a1d..b6d274675a 100644 --- a/deps/uv/src/unix/fsevents.c +++ b/deps/uv/src/unix/fsevents.c @@ -81,12 +81,14 @@ void uv__fsevents_cb(uv_async_t* cb, int status) { handle = cb->data; UV__FSEVENTS_WALK(handle, { - if (handle->fd != -1) + if (handle->event_watcher.fd != -1) handle->cb(handle, event->path[0] ? event->path : NULL, event->events, 0); }); - if ((handle->flags & (UV_CLOSING | UV_CLOSED)) == 0 && handle->fd == -1) + if ((handle->flags & (UV_CLOSING | UV_CLOSED)) == 0 && + handle->event_watcher.fd == -1) { uv__fsevents_close(handle); + } } |