| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Upstream libuv supports passing file descriptors >= 3 to child processes
via `STARTUPINFOW` members reserved by the MSVC C run-time. However,
some programs use `GetStartupInfoW` to initialize a `STARTUPINFOW`
structure to pass to `CreateProcessW` without clearing the reserved
members. If we launch such programs with non-zero values in the
reserved members, the MSVC C run-time in *their* children may not
correctly associate the stdin/stdout/stderr streams' file descriptors
with the corresponding `HANDLE`s.
Patch our copy of libuv to avoid using the reserved members. This
restores `execute_process` support for the above-described programs as
we had prior to commit 5420639a8d (cmExecuteProcessCommand: Replace
cmsysProcess with cmUVProcessChain, 2023-06-01, v3.28.0-rc1~138^2~8).
It also enables support for such programs when launched by `ctest`.
Fixes: #25996
Fixes: #25889
|
|
|
|
|
|
|
|
| |
Backport libuv commit `3f7191e5` (win/spawn: optionally run executable
paths with no file extension, 2024-02-05, v1.48.0~8) to add the
`UV_PROCESS_WINDOWS_FILE_PATH_EXACT_NAME` option we now use.
Issue: #25450
|
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit fc6231bee5 (libuv: win/spawn: run executables with
no file extension, 2023-12-04, v3.28.0~9^2) to make room for the
corresponding fix from upstream libuv 1.48.
Record this as a merge from the last-imported upstream libuv snapshot
branch so that future `git blame` points to the upstream for the
original code instead of this commit.
Issue: #25450
|
|
|
|
|
|
|
| |
Backport this commit from libuv PR 4241 to restore `execute_process()`
support for running executables on Windows with no file extension.
Fixes: #25450
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit da9df7425a (libuv: win/spawn: run executables with
no file extension, 2023-11-29, v3.28.0-rc6~1^2~1). It incorrectly
searched the `PATH` for extension-less command names. Another fix will
be needed for the regression motivating it.
Record this as a merge from the last-imported upstream libuv snapshot
branch so that future `git blame` points to the upstream for the
original code instead of this commit.
Fixes: #25473
Issue: #25450
|
|
|
|
|
| |
Backport commit 5e302730cd (win: honor NoDefaultCurrentDirectoryInExePath
env var, 2023-12-01) from libuv PR 4238.
|
|
|
|
|
|
|
| |
Backport this commit from libuv PR 4241 to restore `execute_process()`
support for running executables on Windows with no file extension.
Fixes: #25450
|
|
|
|
|
|
|
|
| |
Backport upstream libuv commit `93ca3f15` (win,process: avoid kernel bug
with starting Windows Store apps, 2023-09-27) from libuv PR 4152.
Fixes: #23029
Patch-by: Jameson Nash <vtjnash@gmail.com>
|
|
|
|
|
|
|
| |
Backport libuv commit `c97017dd` (win,spawn: allow `%PATH%` to be unset,
2023-08-14).
See https://github.com/libuv/libuv/pull/4116.
|
|
|
|
|
| |
* upstream-libuv:
libuv 2022-07-12 (0c1fa696)
|
|
|
|
| |
Tell the compiler the structs are layout-compatible.
|
|
|
|
|
|
| |
# By libuv upstream
* upstream-libuv:
libuv 2022-01-13 (2fbfa035)
|
|
|
|
|
| |
* upstream-libuv:
libuv 2021-11-09 (0f696da5)
|
|\
| |
| |
| |
| |
| |
| | |
1aba3a8367 libuv: Fix building with mingw toolchains for ARM/AArch64
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6354
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is a backport of f9ad802fa5dd5afe6730f8e00cfdbf98f1d7a969
from the v1.x branch from upstream libuv:
mingw: fix building for ARM/AArch64
Don't use x86 inline assembly in these cases, but fall back to
__sync_fetch_and_or, similar to _InterlockedOr8 in the MSVC case.
This corresponds to what is done in src/unix/atomic-ops.h, where
ARM/AArch64 cases end up implementing cmpxchgi with
__sync_val_compare_and_swap.
PR-URL: https://github.com/libuv/libuv/pull/3236
Reviewed-By: Jameson Nash <vtjnash@gmail.com>
|
|/
|
|
|
|
|
| |
Fix libuv issue 3159 in CMake while integration in upstream libuv is
pending.
Fixes: #22141
|
|
|
|
|
| |
Add a cast to avoid the conversion warning with minimal changes to
third-party code.
|
|
|
|
|
| |
* upstream-libuv:
libuv 2020-09-22 (ed5b42d5)
|
|
|
|
|
| |
* upstream-libuv:
libuv 2020-04-29 (e7ebae26)
|
|
|
|
|
| |
* upstream-libuv:
libuv 2020-04-06 (d21f5aea)
|
|
|
|
|
| |
* upstream-libuv:
libuv 2019-06-10 (ee24ce90)
|
|
|
|
|
| |
* upstream-libuv:
libuv 2019-01-15 (f84c5e69)
|
|
|
|
|
| |
* upstream-libuv:
libuv 2018-05-06 (bf605bd7)
|
|
|
|
|
|
|
|
| |
Implement it on Linux, FreeBSD, and Windows for now, and fail with
UV_ENOTSUP on other platforms.
Backported from upstream libuv PR 1527, scheduled for inclusion
in libuv 2.0.
|
|
|
|
|
|
|
|
| |
Implement it on Linux, FreeBSD, and Windows for now, and return
UV_ENOTSUP on other platforms.
Backported from upstream libuv PR 1527, scheduled for inclusion
in libuv 2.0.
|
|
|
|
|
| |
* upstream-libuv:
libuv 2018-01-19 (63de1eca)
|
|
|
|
|
| |
* upstream-libuv:
libuv 2017-05-25 (dc596109)
|
|
|
|
|
|
|
| |
* upstream-libuv:
libuv 2017-05-09 (e11dcd43)
Fixes: #16878
|
|
|
|
|
| |
* upstream-libuv:
libuv 2017-02-21 (52ae8264)
|
|
|
|
|
| |
* upstream-libuv:
libuv 2016-09-27 (8221f9b3)
|
| |
|
| |
|
|
|
|
|
| |
Add '-w' or equivalent flag on compilers supporting it.
Tell MSVC to use its lowest warning level inside libuv sources.
|
|
* upstream-libuv:
libuv 2016-08-30 (897738b1)
|