summaryrefslogtreecommitdiffstats
path: root/contrib/libreadline/nls.c
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2001-04-11 02:33:07 +0000
committerache <ache@FreeBSD.org>2001-04-11 02:33:07 +0000
commite5103242d94d5211fa44bad651caaa7a61519867 (patch)
tree2a3a3b5b7ce03cb28810b3212cb44a3a1698ca44 /contrib/libreadline/nls.c
parentb85a0e54aedf144ea0dff369289bd3fb6f694f5f (diff)
downloadFreeBSD-src-e5103242d94d5211fa44bad651caaa7a61519867.zip
FreeBSD-src-e5103242d94d5211fa44bad651caaa7a61519867.tar.gz
v4.2 initial import
Diffstat (limited to 'contrib/libreadline/nls.c')
-rw-r--r--contrib/libreadline/nls.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/libreadline/nls.c b/contrib/libreadline/nls.c
index 67bed8a..f807995 100644
--- a/contrib/libreadline/nls.c
+++ b/contrib/libreadline/nls.c
@@ -105,9 +105,9 @@ _rl_init_eightbit ()
/* We don't have setlocale. Finesse it. Check the environment for the
appropriate variables and set eight-bit mode if they have the right
values. */
- lspec = get_env_value ("LC_ALL");
- if (lspec == 0) lspec = get_env_value ("LC_CTYPE");
- if (lspec == 0) lspec = get_env_value ("LANG");
+ lspec = sh_get_env_value ("LC_ALL");
+ if (lspec == 0) lspec = sh_get_env_value ("LC_CTYPE");
+ if (lspec == 0) lspec = sh_get_env_value ("LANG");
if (lspec == 0 || (t = normalize_codeset (lspec)) == 0)
return (0);
for (i = 0; t && legal_lang_values[i]; i++)
OpenPOWER on IntegriCloud