#
83306585 |
| 29-Jul-2024 |
Hüseyin Açacak <110401522+huseyinacacak-janea@users.noreply.github.com> |
win: fix env var in uv_os_homedir and uv_os_tmpdir (#4464) If the corresponding environment variables are empty, the uv_us_homedir() and uv_os_tmpdir() return garbage values. The reason
win: fix env var in uv_os_homedir and uv_os_tmpdir (#4464) If the corresponding environment variables are empty, the uv_us_homedir() and uv_os_tmpdir() return garbage values. The reason for this situation is the Windows API which doesn't return an error even if the path is empty. This PR fixes this problem by checking the return value of the API call. If it is not an error and the length of the value is less than 3, uv_us_homedir() and uv_os_tmpdir() will return UV_ENOENT. Fixes: https://github.com/libuv/libuv/issues/2328
show more ...
|
#
011a1ac1 |
| 06-Oct-2023 |
Pleuvens |
test: switch to new-style ASSERT_EQ macros (#4159) Switch from old-style ASSERT macro to new-style ASSERT_EQ,... macros. Using new-style macros makes it easier to debug test failure
test: switch to new-style ASSERT_EQ macros (#4159) Switch from old-style ASSERT macro to new-style ASSERT_EQ,... macros. Using new-style macros makes it easier to debug test failures Fixes: https://github.com/libuv/libuv/issues/2974
show more ...
|
Revision tags: v1.41.0, v1.40.0, v1.39.0, v1.38.1, v1.38.0, v1.37.0, v1.36.0 |
|
#
fa1da185 |
| 27-Mar-2020 |
Ben Noordhuis |
test: canonicalize argv[0] in exepath test Commit ff29322b ("test: canonicalize test runner path") from 2014 changed the test runner to call `realpath(3)` on `argv[0]` in order to fi
test: canonicalize argv[0] in exepath test Commit ff29322b ("test: canonicalize test runner path") from 2014 changed the test runner to call `realpath(3)` on `argv[0]` in order to fix the `get_currentexe` test failing with the autotools build when the executable path contained symbolic links but that is now causing the `spawn_reads_child_path` test to fail on z/os with the cmake build. Fix that by only doing path canonicalization in the `get_currentexe` test, not always. An auxiliary fix is applied to the `process_title_threadsafe` test because it assumed that setting the process title to a long string, then reading it back produces in the original string. On some platforms however the maximum size of the process title is limited to the size of the `argv` vector. Because the test runner used absolute paths until now, the argv vector was bigger than it is with relative paths, big enough to let this bad assumption go unnoticed until now. Minor fixes are applied to tests that assumed 1024 for the maximum path size because this commit makes visible that some of the CI matrix systems support much longer paths. PR-URL: https://github.com/libuv/libuv/pull/2755 Refs: https://github.com/libuv/libuv/pull/2737#issuecomment-602800431 Refs: https://github.com/libuv/libuv/pull/2754#issuecomment-604015785 Reviewed-By: Richard Lau <riclau@uk.ibm.com>
show more ...
|
Revision tags: v1.35.0, v1.34.2, v1.34.1, v1.34.0, v1.33.1, v1.33.0, v1.32.0, v1.31.0, v1.30.1, v1.30.0 |
|
#
a5d37437 |
| 19-Jun-2019 |
Mustafa M |
win: fix uv_os_tmpdir when env var is 260 chars When TMP environment variable is 261 chars (including the trailing slash) or 260 chars without the trailing slash, uv_os_tmpdir throws an
win: fix uv_os_tmpdir when env var is 260 chars When TMP environment variable is 261 chars (including the trailing slash) or 260 chars without the trailing slash, uv_os_tmpdir throws an UV_EIO error which it shouldn't, since the total input string size allowable for this function is PATH_MAX+1 (including the trailing slash) PR-URL: https://github.com/libuv/libuv/pull/2341 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com>
show more ...
|
Revision tags: v1.29.1, v1.29.0, v1.28.0, v1.27.0, v1.26.0, v1.25.0, v1.24.1, v1.24.0, v1.23.2, v1.23.1, v1.23.0, v1.22.0, v1.21.0, v1.20.3, v1.20.2, v1.20.1, v1.20.0, v1.19.2, v1.19.1, v1.19.0, v1.18.0, v1.17.0, v1.16.1, v1.16.0, v1.15.0, v1.14.1, v1.14.0, v1.13.1, v1.13.0, v1.12.0, v1.11.0, v1.10.2, v1.10.1, v1.10.0, v0.10.37, v1.9.1, v1.9.0 |
|
#
13f4dc82 |
| 24-Mar-2016 |
cjihrig |
test: add missing copyright header This commit adds the copyright header to the two tests that were missing it. PR-URL: https://github.com/libuv/libuv/pull/782 Reviewed-By:
test: add missing copyright header This commit adds the copyright header to the two tests that were missing it. PR-URL: https://github.com/libuv/libuv/pull/782 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
#
c0fa2e75 |
| 04-Jan-2016 |
cjihrig |
unix,win: add uv_os_tmpdir() PR-URL: https://github.com/libuv/libuv/pull/672 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> |