aboutsummaryrefslogtreecommitdiff
path: root/test/functional/vimscript/executable_spec.lua
diff options
context:
space:
mode:
authorVlad <52591095+MeanderingProgrammer@users.noreply.github.com>2025-10-09 18:04:02 -0700
committerGitHub <noreply@github.com>2025-10-09 18:04:02 -0700
commitabd0c882b37acbd26ec6805f3a8b68c4335c0584 (patch)
tree71f5896386bc93c99ad5c1f60d9ba8898e712cc5 /test/functional/vimscript/executable_spec.lua
parentb1c41a332d183c4cb003329f7c2a3f310f48273c (diff)
downloadrneovim-abd0c882b37acbd26ec6805f3a8b68c4335c0584.tar.gz
rneovim-abd0c882b37acbd26ec6805f3a8b68c4335c0584.tar.bz2
rneovim-abd0c882b37acbd26ec6805f3a8b68c4335c0584.zip
fix(rpc): handle more cases when identifying loopback #36100
Problem: On MacOS it is a relatively common pattern to set XDG_RUNTIME_DIR under `/tmp` or `/var`. Both of these are symlinks to `/private/tmp` and `/private/var`. When checking for loopback the input address is normalized using `fix_fname`, however this is not applied to the addresses of the sockets. As a result of one address being normalized and the other not the comparison would fail. Solution: Normalize both sides of the comparison using `fix_fname`.
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions