mirror of
https://github.com/neovim/neovim.git
synced 2025-10-17 23:31:51 +00:00
vim-patch:8.2.1219: symlink not followed if dirname ends in //
Problem: Symlink not followed if dirname ends in //.
Solution: Resolve symlink earlier. (Tomáš Janoušek, closes vim/vim#6454)
5966ea105e
This commit is contained in:
@@ -3593,7 +3593,7 @@ restore_backup:
|
||||
* the backup file our 'original' file.
|
||||
*/
|
||||
if (*p_pm && dobackup) {
|
||||
char *org = modname((char *)fname, (char *)p_pm, FALSE);
|
||||
char *const org = modname((char *)fname, (char *)p_pm, false);
|
||||
|
||||
if (backup != NULL) {
|
||||
/*
|
||||
|
Reference in New Issue
Block a user