From: Paul Eggert Date: Thu, 2 Dec 2004 06:56:28 +0000 (+0000) Subject: (different): Assume setlocale exists. X-Git-Tag: v5.3.0~234 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c82d4cf0b566da76cec77272b24c8b95bc177ff2;p=thirdparty%2Fcoreutils.git (different): Assume setlocale exists. --- diff --git a/src/uniq.c b/src/uniq.c index b7339e5b75..8a9fc9627c 100644 --- a/src/uniq.c +++ b/src/uniq.c @@ -228,7 +228,7 @@ different (char *old, char *new, size_t oldlen, size_t newlen) /* FIXME: This should invoke strcoll somehow. */ return oldlen != newlen || memcasecmp (old, new, oldlen); } - else if (HAVE_SETLOCALE && hard_LC_COLLATE) + else if (hard_LC_COLLATE) return xmemcoll (old, oldlen, new, newlen) != 0; else return oldlen != newlen || memcmp (old, new, oldlen);