(hard_locale): Revert last change -- it was simply
authorJim Meyering <jim@meyering.net>
Tue, 24 Oct 2000 08:20:13 +0000 (08:20 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 24 Oct 2000 08:20:13 +0000 (08:20 +0000)
wrong.  That set_locale call must not have any side effects.
From Paul Eggert.

lib/hard-locale.c

index 8ce6fdd..1c75b39 100644 (file)
@@ -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)
     {