Rename mch_* functions to os_* in os module.

This commit is contained in:
Thomas Wienecke
2014-03-27 12:38:33 +01:00
committed by Thiago de Arruda
parent 3f7011ab91
commit 5762c4e528
42 changed files with 335 additions and 335 deletions

View File

@@ -3463,9 +3463,9 @@ char_u * enc_locale()
# if defined(HAVE_LOCALE_H) || defined(X_LOCALE)
if ((s = setlocale(LC_CTYPE, NULL)) == NULL || *s == NUL)
# endif
if ((s = (char *)mch_getenv("LC_ALL")) == NULL || *s == NUL)
if ((s = (char *)mch_getenv("LC_CTYPE")) == NULL || *s == NUL)
s = (char *)mch_getenv("LANG");
if ((s = (char *)os_getenv("LC_ALL")) == NULL || *s == NUL)
if ((s = (char *)os_getenv("LC_CTYPE")) == NULL || *s == NUL)
s = (char *)os_getenv("LANG");
if (s == NULL || *s == NUL)
return FAIL;