From a82a00397fc398e2aebe4ef4693f6e43c5a11e63 Mon Sep 17 00:00:00 2001 From: Mark Whitley Date: Tue, 27 Mar 2001 17:07:15 +0000 Subject: Fix to last patch: locale code should be 9, not 7. --- shell/lash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shell') diff --git a/shell/lash.c b/shell/lash.c index ca0d4bb..22c56d4 100644 --- a/shell/lash.c +++ b/shell/lash.c @@ -449,7 +449,7 @@ static int builtin_export(struct child_prog *child) #endif if(strncmp(v, "LC_ALL=", 7)==0) setlocale(LC_ALL, getenv("LC_ALL")); - if(strncmp(v, "LC_CTYPE=", 7)==0) + if(strncmp(v, "LC_CTYPE=", 9)==0) setlocale(LC_CTYPE, getenv("LC_CTYPE")); return (res); -- cgit v1.1