projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fa8398
)
process_wrap: update after libuv api change
author
Bert Belder
<bertbelder@gmail.com>
Fri, 23 Aug 2013 17:08:49 +0000
(19:08 +0200)
committer
Bert Belder
<bertbelder@gmail.com>
Fri, 23 Aug 2013 17:08:49 +0000
(19:08 +0200)
The `exit_code` argument for the `ProcessWrap::OnExit` callback changed
from int to int64_t.
src/process_wrap.cc
patch
|
blob
|
history
diff --git
a/src/process_wrap.cc
b/src/process_wrap.cc
index
77299ea
..
2dbfdfb
100644
(file)
--- a/
src/process_wrap.cc
+++ b/
src/process_wrap.cc
@@
-265,7
+265,9
@@
class ProcessWrap : public HandleWrap {
args.GetReturnValue().Set(err);
}
- static void OnExit(uv_process_t* handle, int exit_status, int term_signal) {
+ static void OnExit(uv_process_t* handle,
+ int64_t exit_status,
+ int term_signal) {
HandleScope scope(node_isolate);
ProcessWrap* wrap = static_cast<ProcessWrap*>(handle->data);