summaryrefslogtreecommitdiffstats
path: root/Utilities/cmlibuv/src/unix/loop.c
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-01-19 18:03:04 (GMT)
committerBrad King <brad.king@kitware.com>2018-01-19 18:03:04 (GMT)
commitb58d48c15f9ee18015960e2eed7410f5166c855f (patch)
tree640add606d5ca6c0a03f58589a7528eaa9511428 /Utilities/cmlibuv/src/unix/loop.c
parente8b57c2283f731f42b4c7eece0531dab67df3d41 (diff)
parentf4a26c748b5ea2cafecdf5490b744a2b167c01ae (diff)
downloadCMake-b58d48c15f9ee18015960e2eed7410f5166c855f.zip
CMake-b58d48c15f9ee18015960e2eed7410f5166c855f.tar.gz
CMake-b58d48c15f9ee18015960e2eed7410f5166c855f.tar.bz2
Merge branch 'upstream-libuv' into update-libuv
* upstream-libuv: libuv 2018-01-19 (63de1eca)
Diffstat (limited to 'Utilities/cmlibuv/src/unix/loop.c')
-rw-r--r--Utilities/cmlibuv/src/unix/loop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/cmlibuv/src/unix/loop.c b/Utilities/cmlibuv/src/unix/loop.c
index bcd4924..5b5b0e0 100644
--- a/Utilities/cmlibuv/src/unix/loop.c
+++ b/Utilities/cmlibuv/src/unix/loop.c
@@ -31,7 +31,6 @@ int uv_loop_init(uv_loop_t* loop) {
void* saved_data;
int err;
- uv__signal_global_once_init();
saved_data = loop->data;
memset(loop, 0, sizeof(*loop));
@@ -68,6 +67,7 @@ int uv_loop_init(uv_loop_t* loop) {
if (err)
return err;
+ uv__signal_global_once_init();
err = uv_signal_init(loop, &loop->child_watcher);
if (err)
goto fail_signal_init;