mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 22:18:33 +00:00
moved mch_get_user_name() and mch_get_uname() into os/users.c
This commit is contained in:

committed by
Thiago de Arruda

parent
6fd9f090fc
commit
ce31410c79
@@ -1886,7 +1886,7 @@ int vim_chdir(char_u *new_dir)
|
||||
int get_user_name(char_u *buf, int len)
|
||||
{
|
||||
if (username == NULL) {
|
||||
if (mch_get_user_name(buf, len) == FAIL)
|
||||
if (mch_get_user_name((char *)buf, len) == FAIL)
|
||||
return FAIL;
|
||||
username = vim_strsave(buf);
|
||||
} else
|
||||
|
Reference in New Issue
Block a user