mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
(different): Assume setlocale exists.
This commit is contained in:
1 parent
bba741d6c2
commit
c82d4cf0b5
1 file changed
+1
-1
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user