aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/lua/executor.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2026-10-01 07:29:43 -0400
committerGitHub <noreply@github.com>2026-10-01 07:29:43 -0400
commitd0596fa4429c0a5e2bd83057cd9e713b5b4587de (patch)
tree9bd13d292fb87b5f65ebcf12d996baeac0abfb76 /src/nvim/lua/executor.c
parentead69d965742a911054615d5e726a56e587ed60c (diff)
downloadrneovim-d0596fa4429c0a5e2bd83057cd9e713b5b4587de.tar.gz
rneovim-d0596fa4429c0a5e2bd83057cd9e713b5b4587de.tar.bz2
rneovim-d0596fa4429c0a5e2bd83057cd9e713b5b4587de.zip
test(env): "uv_os_getenv failed: -4071 EINVAL" #42187
Problem: Windows CI fails since f83acfd327e3756c65f69f170055fe18a751f5f2 : the `:grep` test greps the contents of `test/*`, which depends on whatever is in the test files. After that commit, quickfix expands `"$⨯"` in diagnostic_spec.lua as part of a file name, which logs an error: $NVIM_LOG_FILE: D:/a/neovim/neovim/build/nvim.log_ex_cmds ERR 2026-09-30T17:34:03.034 T190.2776.0 os_getenv:98: uv_os_getenv(�) failed: -4071 EINVAL Analysis: `expand_env_esc()` has buggy logic: it reads the name bytewise (not UTF8-aware), so expand_env("$é") looks up "\xC3". while (c-- > 0 && *tail != NUL && vim_isIDc((uint8_t)(*tail))) { *var++ = *tail++; } Solution: In the `:grep` test, grep test/functional/fixtures/bigfile.txt instead of the entire `test/*` contents. This is faster and more predictable.
Diffstat (limited to 'src/nvim/lua/executor.c')
0 files changed, 0 insertions, 0 deletions