From: Jim Meyering Date: Tue, 24 Oct 2000 08:20:13 +0000 (+0000) Subject: (hard_locale): Revert last change -- it was simply X-Git-Tag: cvs-readonly~6263 X-Git-Url: http://erislabs.net/gitweb/?a=commitdiff_plain;h=eac9554ed4b1fc578d71755b6bbacbc24fdbd36a;p=gnulib.git (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 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) {