diff options
author | Bert Belder <bertbelder@gmail.com> | 2012-09-14 02:56:41 +0200 |
---|---|---|
committer | Bert Belder <bertbelder@gmail.com> | 2012-09-14 02:56:41 +0200 |
commit | d908b83f59fd6b3ccb83680172a28866bb255364 (patch) | |
tree | f682bd84f357a8b46d34fac6602a11d0100db2c4 /deps/uv/src/win/fs-event.c | |
parent | 7ab4a77d6fdb2b98b3c34fda9d001ed9d91297c7 (diff) | |
download | android-node-v8-d908b83f59fd6b3ccb83680172a28866bb255364.tar.gz android-node-v8-d908b83f59fd6b3ccb83680172a28866bb255364.tar.bz2 android-node-v8-d908b83f59fd6b3ccb83680172a28866bb255364.zip |
uv: upgrade to a28f145
Diffstat (limited to 'deps/uv/src/win/fs-event.c')
-rw-r--r-- | deps/uv/src/win/fs-event.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/deps/uv/src/win/fs-event.c b/deps/uv/src/win/fs-event.c index 0874a768a1..c20c07308f 100644 --- a/deps/uv/src/win/fs-event.c +++ b/deps/uv/src/win/fs-event.c @@ -301,7 +301,7 @@ void uv_process_fs_event_req(uv_loop_t* loop, uv_req_t* req, /* If we're closing, don't report any callbacks, and just push the handle */ /* onto the endgame queue. */ - if (handle->flags & UV_HANDLE_CLOSING) { + if (handle->flags & UV__HANDLE_CLOSING) { uv_want_endgame(loop, (uv_handle_t*) handle); return; }; @@ -443,7 +443,7 @@ void uv_process_fs_event_req(uv_loop_t* loop, uv_req_t* req, } offset = file_info->NextEntryOffset; - } while (offset && !(handle->flags & UV_HANDLE_CLOSING)); + } while (offset && !(handle->flags & UV__HANDLE_CLOSING)); } else { handle->cb(handle, NULL, UV_CHANGE, 0); } @@ -452,7 +452,7 @@ void uv_process_fs_event_req(uv_loop_t* loop, uv_req_t* req, handle->cb(handle, NULL, 0, -1); } - if (!(handle->flags & UV_HANDLE_CLOSING)) { + if (!(handle->flags & UV__HANDLE_CLOSING)) { uv_fs_event_queue_readdirchanges(loop, handle); } else { uv_want_endgame(loop, (uv_handle_t*)handle); @@ -475,7 +475,7 @@ void uv_fs_event_close(uv_loop_t* loop, uv_fs_event_t* handle) { void uv_fs_event_endgame(uv_loop_t* loop, uv_fs_event_t* handle) { - if (handle->flags & UV_HANDLE_CLOSING && + if (handle->flags & UV__HANDLE_CLOSING && !handle->req_pending) { assert(!(handle->flags & UV_HANDLE_CLOSED)); |