From 345cde0bb74f6856b7576c4ea52f9d9b14403a61 Mon Sep 17 00:00:00 2001 From: GNU Libc Maintainers Date: Sun, 14 Jan 2018 10:24:48 +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