diff options
author | cjihrig <cjihrig@gmail.com> | 2018-09-21 10:14:00 -0400 |
---|---|---|
committer | Daniel Bevenius <daniel.bevenius@gmail.com> | 2018-09-24 07:14:45 +0200 |
commit | 2790db5e3d74c4f7521cc27a1115228700dd4049 (patch) | |
tree | 14690a4e418d74d387491dc7afcbcde02c62e99b /deps/uv/src/unix/os390.c | |
parent | ea8000f1195801cf602946c6bd85b8b5dbe83d43 (diff) | |
download | android-node-v8-2790db5e3d74c4f7521cc27a1115228700dd4049.tar.gz android-node-v8-2790db5e3d74c4f7521cc27a1115228700dd4049.tar.bz2 android-node-v8-2790db5e3d74c4f7521cc27a1115228700dd4049.zip |
deps: upgrade to libuv 1.23.1
PR-URL: https://github.com/nodejs/node/pull/22997
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'deps/uv/src/unix/os390.c')
-rw-r--r-- | deps/uv/src/unix/os390.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/deps/uv/src/unix/os390.c b/deps/uv/src/unix/os390.c index f766b39339..5e93178f6f 100644 --- a/deps/uv/src/unix/os390.c +++ b/deps/uv/src/unix/os390.c @@ -662,7 +662,7 @@ void uv__platform_invalidate_fd(uv_loop_t* loop, int fd) { /* Remove the file descriptor from the epoll. */ if (loop->ep != NULL) - epoll_ctl(loop->ep, UV__EPOLL_CTL_DEL, fd, &dummy); + epoll_ctl(loop->ep, EPOLL_CTL_DEL, fd, &dummy); } @@ -838,9 +838,9 @@ void uv__io_poll(uv_loop_t* loop, int timeout) { e.fd = w->fd; if (w->events == 0) - op = UV__EPOLL_CTL_ADD; + op = EPOLL_CTL_ADD; else - op = UV__EPOLL_CTL_MOD; + op = EPOLL_CTL_MOD; /* XXX Future optimization: do EPOLL_CTL_MOD lazily if we stop watching * events, skip the syscall and squelch the events after epoll_wait(). @@ -849,10 +849,10 @@ void uv__io_poll(uv_loop_t* loop, int timeout) { if (errno != EEXIST) abort(); - assert(op == UV__EPOLL_CTL_ADD); + assert(op == EPOLL_CTL_ADD); /* We've reactivated a file descriptor that's been watched before. */ - if (epoll_ctl(loop->ep, UV__EPOLL_CTL_MOD, w->fd, &e)) + if (epoll_ctl(loop->ep, EPOLL_CTL_MOD, w->fd, &e)) abort(); } @@ -934,7 +934,7 @@ void uv__io_poll(uv_loop_t* loop, int timeout) { * Ignore all errors because we may be racing with another thread * when the file descriptor is closed. */ - epoll_ctl(loop->ep, UV__EPOLL_CTL_DEL, fd, pe); + epoll_ctl(loop->ep, EPOLL_CTL_DEL, fd, pe); continue; } |