projects
/
platform
/
upstream
/
nodejs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
uv: Upgrade to v0.10.18
[platform/upstream/nodejs.git]
/
deps
/
uv
/
src
/
unix
/
signal.c
diff --git
a/deps/uv/src/unix/signal.c
b/deps/uv/src/unix/signal.c
index
22c7783
..
aa84ff2
100644
(file)
--- a/
deps/uv/src/unix/signal.c
+++ b/
deps/uv/src/unix/signal.c
@@
-141,7
+141,10
@@
static void uv__signal_handler(int signum) {
saved_errno = errno;
memset(&msg, 0, sizeof msg);
- uv__signal_lock();
+ if (uv__signal_lock()) {
+ errno = saved_errno;
+ return;
+ }
for (handle = uv__signal_first_handle(signum);
handle != NULL && handle->signum == signum;