diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2011-09-30 11:22:38 -0700 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2011-09-30 13:12:12 -0700 |
commit | d1e6a1317958ac3bcc252609d799aee11c50ca85 (patch) | |
tree | dd9225148b3b7a4615004f230ffcd53290d6d6d2 /deps/uv/src/win/fs-event.c | |
parent | 49806864e489dd73bdda56ec66a1c8a9450fa4a7 (diff) | |
download | android-node-v8-d1e6a1317958ac3bcc252609d799aee11c50ca85.tar.gz android-node-v8-d1e6a1317958ac3bcc252609d799aee11c50ca85.tar.bz2 android-node-v8-d1e6a1317958ac3bcc252609d799aee11c50ca85.zip |
Upgrade libuv to fe18438
Diffstat (limited to 'deps/uv/src/win/fs-event.c')
-rw-r--r-- | deps/uv/src/win/fs-event.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/deps/uv/src/win/fs-event.c b/deps/uv/src/win/fs-event.c index a68dfe00de..69cd62d64d 100644 --- a/deps/uv/src/win/fs-event.c +++ b/deps/uv/src/win/fs-event.c @@ -144,7 +144,7 @@ int uv_fs_event_init(uv_loop_t* loop, uv_fs_event_t* handle, if (!uv_utf8_to_utf16(filename, filenamew, name_size / sizeof(wchar_t))) { - uv_set_sys_error(loop, GetLastError()); + uv__set_sys_error(loop, GetLastError()); return -1; } @@ -252,7 +252,7 @@ error: handle->buffer = NULL; } - uv_set_sys_error(loop, last_error); + uv__set_sys_error(loop, last_error); return -1; } @@ -330,7 +330,7 @@ void uv_process_fs_event_req(uv_loop_t* loop, uv_req_t* req, handle->cb(handle, NULL, UV_CHANGE, 0); } } else { - loop->last_error = GET_REQ_UV_ERROR(req); + uv__set_sys_error(loop, GET_REQ_ERROR(req)); handle->cb(handle, NULL, 0, -1); } |