Skip to content

Commit c9c958e

Browse files
lpincadanielleadams
authored andcommitted
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: #42290 PR-URL: #42340 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
1 parent 12764fc commit c9c958e

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 <jsbache@users.noreply.github.com>
496496
Campbell He <duskmoon314@users.noreply.github.com>
497497
Andrey Hohutkin <andrey.hohutkin@gmail.com>
498498
deal <halx99@live.com>
499+
David Machaj <46852402+dmachaj@users.noreply.github.com>
500+
Jessica Clarke <jrtc27@jrtc27.com>
501+
Jeremy Rose <nornagon@nornagon.net>
502+
woclass <git@wo-class.cn>
503+
Luca Adrian L <info@lucalindhorst.de>
504+
WenTao Ou <owt5008137@live.com>
505+
jonilaitinen <joni.laitinen@iki.fi>
506+
UMU <UMU618@users.noreply.github.com>
507+
Paul Evans <leonerd@leonerd.org.uk>
508+
wyckster <wyckster@hotmail.com>
509+
Vittore F. Scolari <vittore.scolari@gmail.com>
510+
roflcopter4 <15476346+roflcopter4@users.noreply.github.com>
511+
V-for-Vasili <vasili.skurydzin@protonmail.com>
512+
Denny C. Dai <dennycd@me.com>
513+
Hannah Shi <hannahshisfb@gmail.com>
514+
tuftedocelot <tuftedocelot@fastmail.fm>
515+
blogdaren <blogdaren@163.com>
516+
chucksilvers <chuq@chuq.com>
517+
Sergey Fedorov <vital.had@gmail.com>
518+
theanarkh <2923878201@qq.com>
519+
Samuel Cabrero <samuelcabrero@gmail.com>

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)