diff options
author | cjihrig <cjihrig@gmail.com> | 2018-06-22 11:28:11 -0400 |
---|---|---|
committer | cjihrig <cjihrig@gmail.com> | 2018-06-24 20:54:34 -0400 |
commit | 537a4baa443daea9850a8e324b5b4d7c21dd2717 (patch) | |
tree | f36565e62794a56adfa99a8511c6d2a90c466fbc /deps/uv/test/test-loop-handles.c | |
parent | 49e5f0a10fc3784b318842b06854b38475fc884b (diff) | |
download | android-node-v8-537a4baa443daea9850a8e324b5b4d7c21dd2717.tar.gz android-node-v8-537a4baa443daea9850a8e324b5b4d7c21dd2717.tar.bz2 android-node-v8-537a4baa443daea9850a8e324b5b4d7c21dd2717.zip |
deps: upgrade to libuv 1.21.0
Notable changes:
- Building via cmake is now supported.
PR-URL: https://github.com/libuv/libuv/pull/1850
- Stricter checks have been added to prevent watching the same
file descriptor multiple times.
PR-URL: https://github.com/libuv/libuv/pull/1851
Refs: https://github.com/nodejs/node/issues/3604
- An IPC deadlock on Windows has been fixed.
PR-URL: https://github.com/libuv/libuv/pull/1843
Fixes: https://github.com/nodejs/node/issues/9706
Fixes: https://github.com/nodejs/node/issues/7657
- uv_fs_lchown() has been added.
PR-URL: https://github.com/libuv/libuv/pull/1826
Refs: https://github.com/nodejs/node/issues/19868
- uv_fs_copyfile() sets errno on error.
PR-URL: https://github.com/libuv/libuv/pull/1881
Fixes: https://github.com/nodejs/node/issues/21329
- uv_fs_fchmod() supports -A files on Windows.
PR-URL: https://github.com/libuv/libuv/pull/1819
Refs: https://github.com/nodejs/node/issues/12803
PR-URL: https://github.com/nodejs/node/pull/21466
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'deps/uv/test/test-loop-handles.c')
-rw-r--r-- | deps/uv/test/test-loop-handles.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/deps/uv/test/test-loop-handles.c b/deps/uv/test/test-loop-handles.c index c3e8498ae9..6471cd08b3 100644 --- a/deps/uv/test/test-loop-handles.c +++ b/deps/uv/test/test-loop-handles.c @@ -228,8 +228,8 @@ static void check_cb(uv_check_t* handle) { uv_close((uv_handle_t*)&idle_1_handles[i], idle_1_close_cb); } - /* This handle is closed/recreated every time, close it only if it is */ - /* active.*/ + /* This handle is closed/recreated every time, close it only if it is + * active. */ if (idle_2_is_active) { uv_close((uv_handle_t*)&idle_2_handle, idle_2_close_cb); } @@ -246,10 +246,10 @@ static void prepare_2_cb(uv_prepare_t* handle) { fflush(stderr); ASSERT(handle == &prepare_2_handle); - /* prepare_2 gets started by prepare_1 when (loop_iteration % 2 == 0), */ - /* and it stops itself immediately. A started watcher is not queued */ - /* until the next round, so when this callback is made */ - /* (loop_iteration % 2 == 0) cannot be true. */ + /* Prepare_2 gets started by prepare_1 when (loop_iteration % 2 == 0), and it + * stops itself immediately. A started watcher is not queued until the next + * round, so when this callback is made (loop_iteration % 2 == 0) cannot be + * true. */ ASSERT(loop_iteration % 2 != 0); r = uv_prepare_stop((uv_prepare_t*)handle); @@ -304,8 +304,8 @@ TEST_IMPL(loop_handles) { /* don't init or start idle_2, both is done by idle_1_cb */ - /* the timer callback is there to keep the event loop polling */ - /* unref it as it is not supposed to keep the loop alive */ + /* The timer callback is there to keep the event loop polling unref it as it + * is not supposed to keep the loop alive */ r = uv_timer_init(uv_default_loop(), &timer_handle); ASSERT(r == 0); r = uv_timer_start(&timer_handle, timer_cb, TIMEOUT, TIMEOUT); |