summaryrefslogtreecommitdiff
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
commiteac9554ed4b1fc578d71755b6bbacbc24fdbd36a (patch)
tree80d98de81e4e9409bc8a36381560fe4fd661621e
parent4c90fe8b1d4564fd3843649c098b2dc78503670f (diff)
downloadgnulib-eac9554ed4b1fc578d71755b6bbacbc24fdbd36a.tar.gz
(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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hard-locale.c b/lib/hard-locale.c
index 8ce6fddc9e..1c75b390a6 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)
{