From: Jim Meyering Date: Tue, 24 Oct 2000 08:20:13 +0000 (+0000) Subject: (hard_locale): Revert last change -- it was simply X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eac9554ed4b1fc578d71755b6bbacbc24fdbd36a;p=pspp (hard_locale): Revert last change -- it was simply wrong. That set_locale call must not have any side effects. From Paul Eggert. --- 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) {