diff options
author | Jim Meyering <jim@meyering.net> | 2000-10-24 08:20:13 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-10-24 08:20:13 +0000 |
commit | 7e87cd0d6eeaf2255d2f103c53075912fdadd8e7 (patch) | |
tree | 9bbe61fc757d492be51249b36a256227af1ead9e | |
parent | a20eb902b82fbd25773a81b6fefa0635718d1543 (diff) | |
download | coreutils-7e87cd0d6eeaf2255d2f103c53075912fdadd8e7.tar.xz |
(hard_locale): Revert last change -- it was simply
wrong. That set_locale call must not have any side effects.
From Paul Eggert.
-rw-r--r-- | lib/hard-locale.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hard-locale.c b/lib/hard-locale.c index 8ce6fddc9..1c75b390a 100644 --- a/lib/hard-locale.c +++ b/lib/hard-locale.c @@ -56,7 +56,7 @@ hard_locale (int category) #else int hard = 1; - char const *p = setlocale (category, ""); + char const *p = setlocale (category, 0); if (p) { |