summaryrefslogtreecommitdiff
path: root/lib/hard-locale.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-10-24 08:20:13 +0000
committerJim Meyering <jim@meyering.net>2000-10-24 08:20:13 +0000
commit7e87cd0d6eeaf2255d2f103c53075912fdadd8e7 (patch)
tree9bbe61fc757d492be51249b36a256227af1ead9e /lib/hard-locale.c
parenta20eb902b82fbd25773a81b6fefa0635718d1543 (diff)
downloadcoreutils-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.
Diffstat (limited to 'lib/hard-locale.c')
-rw-r--r--lib/hard-locale.c2
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)
{