From 94bc1fb9156a2d9656c94697f1763a971ccbe4b3 Mon Sep 17 00:00:00 2001 From: GNU Libc Maintainers Date: Fri, 26 Jan 2018 22:35:29 +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