From: GNU Libc Maintainers Date: Sun, 14 Jan 2018 10:24:48 +0000 (+0000) Subject: submitted-ldconfig-c-collation X-Git-Tag: archive/raspbian/2.26-4+rpi1^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=345cde0bb74f6856b7576c4ea52f9d9b14403a61;p=glibc.git 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 --- 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);