mirror of
https://github.com/neovim/neovim.git
synced 2025-10-02 07:58:35 +00:00
undo: Do some refactoring
Specifically refactor u_get_undo_file_name which will be modified to automatically create undo directory and replace `char_u` with `char` in some of the related functions.
This commit is contained in:
@@ -2990,7 +2990,7 @@ static void ml_lineadd(buf_T *buf, int count)
|
||||
* If it worked returns OK and the resolved link in "buf[MAXPATHL]".
|
||||
* Otherwise returns FAIL.
|
||||
*/
|
||||
int resolve_symlink(char_u *fname, char_u *buf)
|
||||
int resolve_symlink(const char_u *fname, char_u *buf)
|
||||
{
|
||||
char_u tmp[MAXPATHL];
|
||||
int ret;
|
||||
|
Reference in New Issue
Block a user