(different): Assume setlocale exists.

This commit is contained in:
Paul Eggert committed 2004-12-02 06:56:28 +00:00
1 parent bba741d6c2
commit c82d4cf0b5
1 file changed
+1 -1
+1 -1
View File
@@ -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);