mirror of
https://github.com/neovim/neovim.git
synced 2025-12-28 09:04:53 +00:00
Problem: filecopy() may return wrong value when readlink() fails.
Solution: Set ret to -1 so that 0 is returned when readlink() fails.
(zeertzjq)
closes: vim/vim#15438
da090f95df