From c82d4cf0b566da76cec77272b24c8b95bc177ff2 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 2 Dec 2004 06:56:28 +0000 Subject: [PATCH] (different): Assume setlocale exists. --- src/uniq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.47.2