diff options
author | Thomas Wienecke <wienecke.t@gmail.com> | 2014-03-27 12:38:33 +0100 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-03-27 19:57:55 -0300 |
commit | 5762c4e528cbd6629319bf3958d1f6554b399b20 (patch) | |
tree | 3be91959012944534451ec84584ff4be84286b7c /src/ex_cmds.c | |
parent | 3f7011ab9185b4968e89086f77b054161a900beb (diff) | |
download | rneovim-5762c4e528cbd6629319bf3958d1f6554b399b20.tar.gz rneovim-5762c4e528cbd6629319bf3958d1f6554b399b20.tar.bz2 rneovim-5762c4e528cbd6629319bf3958d1f6554b399b20.zip |
Rename mch_* functions to os_* in os module.
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r-- | src/ex_cmds.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c index d0e4c9eccd..15429e5b7d 100644 --- a/src/ex_cmds.c +++ b/src/ex_cmds.c @@ -1730,7 +1730,7 @@ static char_u *viminfo_filename(char_u *file) else if ((file = find_viminfo_parameter('n')) == NULL || *file == NUL) { #ifdef VIMINFO_FILE2 /* don't use $HOME when not defined (turned into "c:/"!). */ - if (mch_getenv((char_u *)"HOME") == NULL) { + if (os_getenv((char_u *)"HOME") == NULL) { /* don't use $VIM when not available. */ expand_env((char_u *)"$VIM", NameBuff, MAXPATHL); if (STRCMP("$VIM", NameBuff) != 0) /* $VIM was expanded */ @@ -2335,7 +2335,7 @@ check_overwrite ( if (!eap->forceit && !eap->append) { #ifdef UNIX /* with UNIX it is possible to open a directory */ - if (mch_isdir(ffname)) { + if (os_isdir(ffname)) { EMSG2(_(e_isadir2), ffname); return FAIL; } @@ -5384,7 +5384,7 @@ void ex_helptags(exarg_T *eap) xpc.xp_context = EXPAND_DIRECTORIES; dirname = ExpandOne(&xpc, eap->arg, NULL, WILD_LIST_NOTFOUND|WILD_SILENT, WILD_EXPAND_FREE); - if (dirname == NULL || !mch_isdir(dirname)) { + if (dirname == NULL || !os_isdir(dirname)) { EMSG2(_("E150: Not a directory: %s"), eap->arg); return; } |