Skip to content

Commit 55d74ae

Browse files
committed
deps: upgrade to libuv 1.44.2
Notable changes: - Build regression fixes for various platform updates (libuv/libuv#3428, libuv/libuv#3419, libuv/libuv#3423, libuv/libuv#3413, libuv/libuv#3431) - Support for GNU/Hurd (libuv/libuv#3450) - Release tool improvements (libuv/libuv-release-tool#13) - Better performing rw locks on Win32 (libuv/libuv#3383) - Support for posix_spawn API (libuv/libuv#3257) - Fix regression on OpenBSD (libuv/libuv#3506) - Add uv_available_parallelism() (libuv/libuv#3499) - Don't use thread-unsafe strtok() (libuv/libuv#3524) - Fix hang after NOTE_EXIT (libuv/libuv#3521) - Better align order-of-events behavior between platforms (libuv/libuv#3598) - Fix fs event not fired if the watched file is moved/removed/recreated (libuv/libuv#3540) - Fix pipe resource leak if closed during connect (and other bugs) (libuv/libuv#3611) - Don't error when killing a zombie process (libuv/libuv#3625) - Avoid posix_spawnp() cwd bug (libuv/libuv#3597) - Skip EVFILT_PROC events when invalidating events for an fd (libuv/libuv#3629) Fixes: nodejs#42290
1 parent ae335d2 commit 55d74ae

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

97 files changed

+3822
-2696
lines changed

deps/uv/AUTHORS

+21
Original file line numberDiff line numberDiff line change
@@ -496,3 +496,24 @@ Jesper Storm Bache <[email protected]>
496496
Campbell He <[email protected]>
497497
Andrey Hohutkin <[email protected]>
498498
499+
David Machaj <[email protected]>
500+
Jessica Clarke <[email protected]>
501+
Jeremy Rose <[email protected]>
502+
503+
Luca Adrian L <[email protected]>
504+
WenTao Ou <[email protected]>
505+
jonilaitinen <[email protected]>
506+
507+
Paul Evans <[email protected]>
508+
509+
Vittore F. Scolari <[email protected]>
510+
roflcopter4 <[email protected]>
511+
V-for-Vasili <[email protected]>
512+
Denny C. Dai <[email protected]>
513+
Hannah Shi <[email protected]>
514+
tuftedocelot <[email protected]>
515+
blogdaren <[email protected]>
516+
chucksilvers <[email protected]>
517+
Sergey Fedorov <[email protected]>
518+
theanarkh <[email protected]>
519+
Samuel Cabrero <[email protected]>

deps/uv/CMakeLists.txt

+26-5
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ set(uv_sources
125125
src/inet.c
126126
src/random.c
127127
src/strscpy.c
128+
src/strtok.c
128129
src/threadpool.c
129130
src/timer.c
130131
src/uv-common.c
@@ -215,7 +216,6 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Android")
215216
list(APPEND uv_defines _GNU_SOURCE)
216217
list(APPEND uv_libraries dl)
217218
list(APPEND uv_sources
218-
src/unix/android-ifaddrs.c
219219
src/unix/linux-core.c
220220
src/unix/linux-inotify.c
221221
src/unix/linux-syscalls.c
@@ -259,6 +259,22 @@ if(APPLE)
259259
src/unix/fsevents.c)
260260
endif()
261261

262+
if(CMAKE_SYSTEM_NAME STREQUAL "GNU")
263+
list(APPEND uv_libraries dl)
264+
list(APPEND uv_sources
265+
src/unix/bsd-ifaddrs.c
266+
src/unix/no-fsevents.c
267+
src/unix/no-proctitle.c
268+
src/unix/posix-hrtime.c
269+
src/unix/posix-poll.c
270+
src/unix/hurd.c)
271+
endif()
272+
273+
if(CMAKE_SYSTEM_NAME STREQUAL "kFreeBSD")
274+
list(APPEND uv_defines _GNU_SOURCE)
275+
list(APPEND uv_libraries dl freebsd-glue)
276+
endif()
277+
262278
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
263279
list(APPEND uv_defines _GNU_SOURCE _POSIX_C_SOURCE=200112)
264280
list(APPEND uv_libraries dl rt)
@@ -418,6 +434,7 @@ if(LIBUV_BUILD_TESTS)
418434
test/benchmark-fs-stat.c
419435
test/benchmark-getaddrinfo.c
420436
test/benchmark-loop-count.c
437+
test/benchmark-queue-work.c
421438
test/benchmark-million-async.c
422439
test/benchmark-million-timers.c
423440
test/benchmark-multi-accept.c
@@ -447,7 +464,6 @@ if(LIBUV_BUILD_TESTS)
447464
test/test-async-null-cb.c
448465
test/test-async.c
449466
test/test-barrier.c
450-
test/test-callback-order.c
451467
test/test-callback-stack.c
452468
test/test-close-fd.c
453469
test/test-close-order.c
@@ -546,10 +562,12 @@ if(LIBUV_BUILD_TESTS)
546562
test/test-spawn.c
547563
test/test-stdio-over-pipes.c
548564
test/test-strscpy.c
565+
test/test-strtok.c
549566
test/test-tcp-alloc-cb-fail.c
550567
test/test-tcp-bind-error.c
551568
test/test-tcp-bind6-error.c
552569
test/test-tcp-close-accept.c
570+
test/test-tcp-close-after-read-timeout.c
553571
test/test-tcp-close-while-connecting.c
554572
test/test-tcp-close.c
555573
test/test-tcp-close-reset.c
@@ -563,6 +581,7 @@ if(LIBUV_BUILD_TESTS)
563581
test/test-tcp-open.c
564582
test/test-tcp-read-stop.c
565583
test/test-tcp-read-stop-start.c
584+
test/test-tcp-rst.c
566585
test/test-tcp-shutdown-after-write.c
567586
test/test-tcp-try-write.c
568587
test/test-tcp-try-write-error.c
@@ -663,9 +682,11 @@ install(FILES LICENSE DESTINATION ${CMAKE_INSTALL_DOCDIR})
663682
install(FILES ${PROJECT_BINARY_DIR}/libuv.pc ${PROJECT_BINARY_DIR}/libuv-static.pc
664683
DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
665684
install(TARGETS uv EXPORT libuvConfig
666-
RUNTIME DESTINATION ${CMAKE_INSTALL_LIBDIR}
667-
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
668-
install(TARGETS uv_a ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
685+
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
686+
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
687+
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
688+
install(TARGETS uv_a EXPORT libuvConfig
689+
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
669690
install(EXPORT libuvConfig DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/libuv)
670691

671692
if(MSVC)

0 commit comments

Comments
 (0)