summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2004-12-02 06:54:16 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2004-12-02 06:54:16 +0000
commita0a9d4c6f42bbb18c2f93af27382e2526207259f (patch)
tree1780e18c621f326e81743106e8438de91c1874f9 /src
parent1cdb15c44c4c2f2f701c89b4213183a25c6f4c3b (diff)
downloadcoreutils-a0a9d4c6f42bbb18c2f93af27382e2526207259f.tar.xz
(compare_files): Assume setlocale exists.
Diffstat (limited to 'src')
-rw-r--r--src/comm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comm.c b/src/comm.c
index 972aefbbe..c7a5cd002 100644
--- a/src/comm.c
+++ b/src/comm.c
@@ -187,7 +187,7 @@ compare_files (char **infiles)
order = -1;
else
{
- if (HAVE_SETLOCALE && hard_LC_COLLATE)
+ if (hard_LC_COLLATE)
order = xmemcoll (thisline[0]->buffer, thisline[0]->length - 1,
thisline[1]->buffer, thisline[1]->length - 1);
else