mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
updated for version 7.3.194
Problem: When "b" is a symlink to directory "a", resolve("b/") doesn't result in "a/". (ZyX) Solution: Remove the trailing slash. (Jean-Rene David)
This commit is contained in:
@@ -14980,7 +14980,10 @@ f_resolve(argvars, rettv)
|
||||
|
||||
len = STRLEN(p);
|
||||
if (len > 0 && after_pathsep(p, p + len))
|
||||
{
|
||||
has_trailing_pathsep = TRUE;
|
||||
p[len - 1] = NUL; /* the trailing slash breaks readlink() */
|
||||
}
|
||||
|
||||
q = getnextcomp(p);
|
||||
if (*q != NUL)
|
||||
|
@@ -709,6 +709,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
194,
|
||||
/**/
|
||||
193,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user