changeset 2910:216a29ec230c

(hard_locale): Revert last change -- it was simply wrong. That set_locale call must not have any side effects. From Paul Eggert.
author Jim Meyering <jim@meyering.net>
date Tue, 24 Oct 2000 08:20:13 +0000
parents d9e0603fc9d4
children dff132a7bce9
files lib/hard-locale.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lib/hard-locale.c
+++ b/lib/hard-locale.c
@@ -56,7 +56,7 @@
 #else
 
   int hard = 1;
-  char const *p = setlocale (category, "");
+  char const *p = setlocale (category, 0);
 
   if (p)
     {