summaryrefslogtreecommitdiff
path: root/locale.c
diff options
context:
space:
mode:
authorJari Aalto <jari.aalto@cante.net>1999-02-19 17:11:39 +0000
committerJari Aalto <jari.aalto@cante.net>2009-09-12 16:46:52 +0000
commitb72432fdcc59300c6fe7c9d6c8a31ad3447933f5 (patch)
treeb9899162338c2ff3fd83a8aef8831cb119e85cd7 /locale.c
parentbc4cd23ce958feda898c618215f94d8a4e8f4ffa (diff)
downloadbash-b72432fdcc59300c6fe7c9d6c8a31ad3447933f5.tar.gz
Imported from ../bash-2.03.tar.gz.
Diffstat (limited to 'locale.c')
-rw-r--r--locale.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/locale.c b/locale.c
index 15738842..24c30c78 100644
--- a/locale.c
+++ b/locale.c
@@ -167,13 +167,22 @@ set_locale_var (var, value)
return (0);
}
+#if 0
/* Called when LANG is assigned a value. Sets LC_ALL if that has not
already been set. */
+#else
+/* This no longer does anything; we rely on the C library for correct
+ behavior. */
+#endif
int
set_lang (var, value)
char *var, *value;
{
+#if 0
return ((lc_all == 0) ? set_locale_var ("LC_ALL", value) : 0);
+#else
+ return 0;
+#endif
}
/* Get the value of one of the locale variables (LC_MESSAGES, LC_CTYPE) */