diff options
| author | Vlad <52591095+MeanderingProgrammer@users.noreply.github.com> | 2025-10-09 18:04:02 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-09 18:04:02 -0700 |
| commit | abd0c882b37acbd26ec6805f3a8b68c4335c0584 (patch) | |
| tree | 71f5896386bc93c99ad5c1f60d9ba8898e712cc5 /test/functional/vimscript/executable_spec.lua | |
| parent | b1c41a332d183c4cb003329f7c2a3f310f48273c (diff) | |
| download | rneovim-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