GeezerVison is showing github.com — deps: upgrade to libuv 1.20.3 · nodejs/node@c54f4bc
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: deps/uv/AUTHORS +1Lines changed: 1 addition & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 337 | 337 | | 338 | 338 | | 339 | 339 | | | 340 | + |
Collapse file Copy file name to clipboardExpand all lines: deps/uv/ChangeLog +19Lines changed: 19 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| | 1 | +2018.05.08, Version 1.20.3 (Stable), 8cfd67e59195251dff793ee47c185c9d6a8f3818 | | 2 | + | | 3 | +Changes since version 1.20.2: | | 4 | + | | 5 | +* win: add Windows XP support to uv_if_indextoname() (ssrlive) | | 6 | + | | 7 | +* win: fix `'floor' undefined` compiler warning (ssrlive) | | 8 | + | | 9 | +* win, pipe: stop read for overlapped pipe (Bartosz Sosnowski) | | 10 | + | | 11 | +* build: fix utf-8 name of copyright holder (Jérémy Lal) | | 12 | + | | 13 | +* zos: initialize pollfd revents (jBarz) | | 14 | + | | 15 | +* zos,doc: add system V message queue note (jBarz) | | 16 | + | | 17 | +* linux: don't use uv__nonblock_ioctl() on sparc (Ben Noordhuis) | | 18 | + | | 19 | + | 1 | 20 | 2018.04.23, Version 1.20.2 (Stable), c51fd3f66bbb386a1efdeba6812789f35a372d1e | 2 | 21 |
| 3 | 22 | Changes since version 1.20.1: | |
Collapse file Copy file name to clipboardExpand all lines: deps/uv/README.md +7Lines changed: 7 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -322,6 +322,13 @@ describes the package in more detail. | 322 | 322 |
| 323 | 323 | AIX support for filesystem events is not compiled when building with `gyp`. | 324 | 324 |
| | 325 | +### z/OS Notes | | 326 | + | | 327 | +z/OS creates System V semaphores and message queues. These persist on the system | | 328 | +after the process terminates unless the event loop is closed. | | 329 | + | | 330 | +Use the `ipcrm` command to manually clear up System V resources. | | 331 | + | 325 | 332 | ## Patches | 326 | 333 |
| 327 | 334 | See the [guidelines for contributing][]. | |
Collapse file Copy file name to clipboardExpand all lines: deps/uv/configure.ac +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 13 | 13 | # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 14 | 14 |
| 15 | 15 | AC_PREREQ(2.57) | 16 | | -AC_INIT([libuv], [1.20.2], [https://github.com/libuv/libuv/issues]) | | 16 | +AC_INIT([libuv], [1.20.3], [https://github.com/libuv/libuv/issues]) | 17 | 17 | AC_CONFIG_MACRO_DIR([m4]) | 18 | 18 | m4_include([m4/libuv-extra-automake-flags.m4]) | 19 | 19 | m4_include([m4/as_case.m4]) | |
Collapse file Copy file name to clipboardExpand all lines: deps/uv/include/uv-version.h +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 32 | 32 |
| 33 | 33 | #define UV_VERSION_MAJOR 1 | 34 | 34 | #define UV_VERSION_MINOR 20 | 35 | | -#define UV_VERSION_PATCH 2 | | 35 | +#define UV_VERSION_PATCH 3 | 36 | 36 | #define UV_VERSION_IS_RELEASE 1 | 37 | 37 | #define UV_VERSION_SUFFIX "" | 38 | 38 |
| |
Collapse file Copy file name to clipboardExpand all lines: deps/uv/m4/libuv-check-flags.m4 +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 1 | 1 | dnl Macros to check the presence of generic (non-typed) symbols. | 2 | | -dnl Copyright (c) 2006-2008 Diego Pettenà <flameeyes gmail com> | | 2 | +dnl Copyright (c) 2006-2008 Diego Pettenò <flameeyes gmail com> | 3 | 3 | dnl Copyright (c) 2006-2008 xine project | 4 | 4 | dnl | 5 | 5 | dnl This program is free software; you can redistribute it and/or modify | @@ -316,4 +316,4 @@ AC_DEFUN([CC_ATTRIBUTE_ALIGNED], [ | 316 | 316 | AC_DEFINE_UNQUOTED([ATTRIBUTE_ALIGNED_MAX], [$cc_cv_attribute_aligned], | 317 | 317 | [Define the highest alignment supported]) | 318 | 318 | fi | 319 | | -]) | | 319 | +]) |
Collapse file Copy file name to clipboardExpand all lines: deps/uv/src/unix/internal.h +12Lines changed: 12 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -185,6 +185,18 @@ struct uv__stream_queued_fds_s { | 185 | 185 | #define uv__nonblock uv__nonblock_fcntl | 186 | 186 | #endif | 187 | 187 |
| | 188 | +/* On Linux, uv__nonblock_fcntl() and uv__nonblock_ioctl() do not commute | | 189 | + * when O_NDELAY is not equal to O_NONBLOCK. Case in point: linux/sparc32 | | 190 | + * and linux/sparc64, where O_NDELAY is O_NONBLOCK + another bit. | | 191 | + * | | 192 | + * Libuv uses uv__nonblock_fcntl() directly sometimes so ensure that it | | 193 | + * commutes with uv__nonblock(). | | 194 | + */ | | 195 | +#if defined(__linux__) && O_NDELAY != O_NONBLOCK | | 196 | +#undef uv__nonblock | | 197 | +#define uv__nonblock uv__nonblock_fcntl | | 198 | +#endif | | 199 | + | 188 | 200 | /* core */ | 189 | 201 | int uv__cloexec_ioctl(int fd, int set); | 190 | 202 | int uv__cloexec_fcntl(int fd, int set); | |
Collapse file Copy file name to clipboardExpand all lines: deps/uv/src/unix/os390-syscalls.c +2Lines changed: 2 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -215,6 +215,7 @@ uv__os390_epoll* epoll_create1(int flags) { | 215 | 215 | maybe_resize(lst, 1); | 216 | 216 | lst->items[lst->size - 1].fd = lst->msg_queue; | 217 | 217 | lst->items[lst->size - 1].events = POLLIN; | | 218 | + lst->items[lst->size - 1].revents = 0; | 218 | 219 | uv_once(&once, epoll_init); | 219 | 220 | uv_mutex_lock(&global_epoll_lock); | 220 | 221 | QUEUE_INSERT_TAIL(&global_epoll_queue, &lst->member); | @@ -252,6 +253,7 @@ int epoll_ctl(uv__os390_epoll* lst, | 252 | 253 | } | 253 | 254 | lst->items[fd].fd = fd; | 254 | 255 | lst->items[fd].events = event->events; | | 256 | + lst->items[fd].revents = 0; | 255 | 257 | } else if (op == EPOLL_CTL_MOD) { | 256 | 258 | if (fd >= lst->size || lst->items[fd].fd == -1) { | 257 | 259 | uv_mutex_unlock(&global_epoll_lock); | |
Collapse file Copy file name to clipboardExpand all lines: deps/uv/src/win/getaddrinfo.c +8-2Lines changed: 8 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -392,15 +392,21 @@ int uv_if_indextoname(unsigned int ifindex, char* buffer, size_t* size) { | 392 | 392 | DWORD bufsize; | 393 | 393 | int r; | 394 | 394 |
| | 395 | + uv__once_init(); | | 396 | + | 395 | 397 | if (buffer == NULL || size == NULL || *size == 0) | 396 | 398 | return UV_EINVAL; | 397 | 399 |
| 398 | | - r = ConvertInterfaceIndexToLuid(ifindex, &luid); | | 400 | + if (pConvertInterfaceIndexToLuid == NULL) | | 401 | + return UV_ENOSYS; | | 402 | + r = pConvertInterfaceIndexToLuid(ifindex, &luid); | 399 | 403 |
| 400 | 404 | if (r != 0) | 401 | 405 | return uv_translate_sys_error(r); | 402 | 406 |
| 403 | | - r = ConvertInterfaceLuidToNameW(&luid, wname, ARRAY_SIZE(wname)); | | 407 | + if (pConvertInterfaceLuidToNameW == NULL) | | 408 | + return UV_ENOSYS; | | 409 | + r = pConvertInterfaceLuidToNameW(&luid, wname, ARRAY_SIZE(wname)); | 404 | 410 |
| 405 | 411 | if (r != 0) | 406 | 412 | return uv_translate_sys_error(r); | |
Collapse file Copy file name to clipboardExpand all lines: deps/uv/src/win/pipe.c +7Lines changed: 7 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -735,6 +735,13 @@ void uv__pipe_unpause_read(uv_pipe_t* handle) { | 735 | 735 |
| 736 | 736 |
| 737 | 737 | void uv__pipe_stop_read(uv_pipe_t* handle) { | | 738 | + if (pCancelIoEx && | | 739 | + !(handle->flags & UV_HANDLE_NON_OVERLAPPED_PIPE) && | | 740 | + !(handle->flags & UV_HANDLE_EMULATE_IOCP) && | | 741 | + handle->flags & UV_HANDLE_READING && | | 742 | + handle->read_req.type == UV_READ) { | | 743 | + pCancelIoEx(handle->handle, &handle->read_req.u.io.overlapped); | | 744 | + } | 738 | 745 | handle->flags &= ~UV_HANDLE_READING; | 739 | 746 | uv__pipe_pause_read((uv_pipe_t*)handle); | 740 | 747 | uv__pipe_unpause_read((uv_pipe_t*)handle); | |
|