coreutils: Fix build of ls

This commit is contained in:
Paul Dersey 2021-01-22 16:41:47 -05:00
parent 7c90d5bf4c
commit fef663a46b
3 changed files with 14 additions and 2 deletions

View file

@ -0,0 +1,11 @@
--- src/ls.c
+++ src/ls.c
@@ -2597,7 +2597,7 @@ xstrcoll (char const *a, char const *b)
{
int diff;
errno = 0;
- diff = strcoll (a, b);
+ diff = strcmp (a, b);
if (errno)
{
error (0, errno, _("cannot compare file names %s and %s"),