diff options
author | Timothy J Fontaine <tjfontaine@gmail.com> | 2013-10-25 11:26:05 -0700 |
---|---|---|
committer | Timothy J Fontaine <tjfontaine@gmail.com> | 2013-10-25 11:26:05 -0700 |
commit | 61ccaf9a974bedf54622a1d6ad6b6ad00f95f5a5 (patch) | |
tree | 1dc52d619bd9ad2424bae83d66c837e7eea6ba06 /src/pipe_wrap.cc | |
parent | f153d6da450b6ba5c78381e6e90a7ba243657691 (diff) | |
parent | 21265e20d3be515733418c5eef395ccec8f5f701 (diff) | |
download | android-node-v8-61ccaf9a974bedf54622a1d6ad6b6ad00f95f5a5.tar.gz android-node-v8-61ccaf9a974bedf54622a1d6ad6b6ad00f95f5a5.tar.bz2 android-node-v8-61ccaf9a974bedf54622a1d6ad6b6ad00f95f5a5.zip |
Merge remote-tracking branch 'upstream/v0.10'
Conflicts:
ChangeLog
deps/uv/ChangeLog
deps/uv/include/uv-darwin.h
deps/uv/src/unix/fsevents.c
deps/uv/src/unix/process.c
deps/uv/src/version.c
doc/api/addons.markdown
doc/api/cluster.markdown
doc/api/http.markdown
lib/http.js
lib/tls.js
src/node_crypto.cc
src/node_http_parser.cc
src/node_version.h
src/pipe_wrap.cc
src/v8abbr.h
src/v8ustack.d
test/simple/test-http-pipeline-flood.js
Diffstat (limited to 'src/pipe_wrap.cc')
-rw-r--r-- | src/pipe_wrap.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/pipe_wrap.cc b/src/pipe_wrap.cc index 805e69b668..b0bd28dd82 100644 --- a/src/pipe_wrap.cc +++ b/src/pipe_wrap.cc @@ -280,7 +280,10 @@ void PipeWrap::Open(const FunctionCallbackInfo<Value>& args) { int fd = args[0]->Int32Value(); - uv_pipe_open(&wrap->handle_, fd); + int err = uv_pipe_open(&wrap->handle_, fd); + + if (err != 0) + ThrowException(UVException(err, "uv_pipe_open")); } |