diff options
author | Jari Aalto <jari.aalto@cante.net> | 1999-02-19 17:11:39 +0000 |
---|---|---|
committer | Jari Aalto <jari.aalto@cante.net> | 2009-09-12 16:46:52 +0000 |
commit | b72432fdcc59300c6fe7c9d6c8a31ad3447933f5 (patch) | |
tree | b9899162338c2ff3fd83a8aef8831cb119e85cd7 /locale.c | |
parent | bc4cd23ce958feda898c618215f94d8a4e8f4ffa (diff) | |
download | bash-b72432fdcc59300c6fe7c9d6c8a31ad3447933f5.tar.gz |
Imported from ../bash-2.03.tar.gz.
Diffstat (limited to 'locale.c')
-rw-r--r-- | locale.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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) */ |