summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2004-12-02 06:56:28 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2004-12-02 06:56:28 +0000
commitc82d4cf0b566da76cec77272b24c8b95bc177ff2 (patch)
tree2e6409e52c4526aedac914791a584fea0f281972 /src
parentbba741d6c298fc2048fdc398db23ecea77666a55 (diff)
downloadcoreutils-c82d4cf0b566da76cec77272b24c8b95bc177ff2.tar.xz
(different): Assume setlocale exists.
Diffstat (limited to 'src')
-rw-r--r--src/uniq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uniq.c b/src/uniq.c
index b7339e5b7..8a9fc9627 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);