From eac9554ed4b1fc578d71755b6bbacbc24fdbd36a Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 24 Oct 2000 08:20:13 +0000 Subject: [PATCH] (hard_locale): Revert last change -- it was simply wrong. That set_locale call must not have any side effects. From Paul Eggert. --- lib/hard-locale.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.11.0