ls-strcmp.patch (522B)
- SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
- SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
- SPDX-License-Identifier: GPL-2.0-or-later
- strcoll() does not exist in mes libc, change it to strcmp.
- --- coreutils-5.0/src/ls.c
- +++ coreutils-5.0/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"),