From b2b22c3e27d9dad2156e1a12bc34480d0f506f4e Mon Sep 17 00:00:00 2001 From: GNU Libc Maintainers Date: Fri, 5 Jan 2018 18:09:39 +0000 Subject: [PATCH] submitted-ldconfig-c-collation Submitted upstream, won't be backported in upstream stable branches. Gbp-Pq: Topic any Gbp-Pq: Name submitted-ldconfig-c-collation.diff --- elf/ldconfig.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/elf/ldconfig.c b/elf/ldconfig.c index 911eff227..878021534 100644 --- a/elf/ldconfig.c +++ b/elf/ldconfig.c @@ -1318,6 +1318,10 @@ main (int argc, char **argv) /* Set locale via LC_ALL. */ setlocale (LC_ALL, ""); + /* But keep the C collation. That way `include' directives using + globbing patterns are processed in a locale-independent order. */ + setlocale (LC_COLLATE, "C"); + /* Set the text message domain. */ textdomain (_libc_intl_domainname); -- 2.30.2