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: FILEUTILS-4_0_28~49 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=7e87cd0d6eeaf2255d2f103c53075912fdadd8e7;p=thirdparty%2Fcoreutils.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 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) {