mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
Upgrade libuv to ea4271f
Required adding uv_default_loop() in many places.
This commit is contained in:
1 parent
6f60683802
commit
21cc4c4985
146 files changed
+2160
-1696
No files matched your search
+3
-3
@@ -152,7 +152,7 @@ class ProcessWrap : public HandleWrap {
|
||||
Get(String::NewSymbol("windowsVerbatimArguments"))->IsTrue();
|
||||
#endif
|
||||
|
||||
int r = uv_spawn(&wrap->process_, options);
|
||||
int r = uv_spawn(uv_default_loop(), &wrap->process_, options);
|
||||
|
||||
wrap->SetHandle((uv_handle_t*)&wrap->process_);
|
||||
assert(wrap->process_.data == wrap);
|
||||
@@ -171,7 +171,7 @@ class ProcessWrap : public HandleWrap {
|
||||
delete [] options.env;
|
||||
}
|
||||
|
||||
if (r) SetErrno(uv_last_error().code);
|
||||
if (r) SetErrno(uv_last_error(uv_default_loop()).code);
|
||||
|
||||
return scope.Close(Integer::New(r));
|
||||
}
|
||||
@@ -185,7 +185,7 @@ class ProcessWrap : public HandleWrap {
|
||||
|
||||
int r = uv_process_kill(&wrap->process_, signal);
|
||||
|
||||
if (r) SetErrno(uv_last_error().code);
|
||||
if (r) SetErrno(uv_last_error(uv_default_loop()).code);
|
||||
|
||||
return scope.Close(Integer::New(r));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user