mirror of
https://github.com/neovim/neovim.git
synced 2025-09-14 23:38:17 +00:00
Remove char_u: add_pathsep()
This commit is contained in:
@@ -12478,7 +12478,7 @@ static void f_resolve(typval_T *argvars, typval_T *rettv)
|
||||
/* Ensure that the result will have a trailing path separator
|
||||
* if the argument has one. */
|
||||
if (remain == NULL && has_trailing_pathsep)
|
||||
add_pathsep(buf);
|
||||
add_pathsep((char *)buf);
|
||||
|
||||
/* Separate the first path component in the link value and
|
||||
* concatenate the remainders. */
|
||||
@@ -19921,7 +19921,7 @@ repeat:
|
||||
*bufp = *fnamep;
|
||||
if (*fnamep == NULL)
|
||||
return -1;
|
||||
add_pathsep(*fnamep);
|
||||
add_pathsep((char *)*fnamep);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user