projects
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34756b3
)
submitted-ldconfig-c-collation
author
GNU Libc Maintainers
<debian-glibc@lists.debian.org>
Sun, 14 Jan 2018 10:24:48 +0000
(10:24 +0000)
committer
Aurelien Jarno
<aurel32@debian.org>
Sun, 14 Jan 2018 10:24:48 +0000
(10:24 +0000)
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
patch
|
blob
|
history
diff --git
a/elf/ldconfig.c
b/elf/ldconfig.c
index 911eff227e094a0524decd1a4b7d773e021c17aa..8780215344000d565af05b00e7ee2c876e296eca 100644
(file)
--- 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);