Aurelien Jarno 7d38eb3897 ldconfig: set LC_COLLATE to C [BZ #22505]
ldconfig supports `include' directives and use the glob function to
process them. The glob function sort entries according to the LC_COLLATE
category. When using a standard "include /etc/ld.so.conf.d/*.conf" entry
in /etc/ld.so.conf, the order therefore depends on the locale used to
run ldconfig. A few examples of locale specific order that might be
disturbing in that context compared to the C locale:
- The cs_CZ and sk_SK locales sort the digits after the letters.
- The et_EE locale sorts the 'z' between 's' and 't'.

This patch fixes that by setting LC_COLLATE to C in order to process
files in deterministic order, independently of the locale used to launch
ldconfig.

NOTE: This should NOT be backported to older release branches.

Changelog:
	[BZ #22505]
	* elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
2017-12-16 12:25:41 +01:00
..
2017-11-27 11:37:19 +01:00
2017-11-27 11:37:19 +01:00
2017-11-27 11:37:19 +01:00
2017-11-27 11:37:19 +01:00
2017-11-27 11:37:19 +01:00
2017-08-18 08:50:42 -07:00
2013-06-05 20:44:03 +00:00
2013-06-05 20:44:03 +00:00
2017-08-16 15:59:55 +02:00
2012-01-07 23:57:22 -05:00
2013-08-21 19:48:48 +02:00
2013-08-21 19:48:48 +02:00
2017-09-10 17:39:39 +02:00
2013-06-05 20:44:03 +00:00
2017-12-15 20:22:29 -08:00
2013-10-18 19:45:36 +05:30
2011-09-10 14:34:15 -04:00
2011-09-10 14:34:15 -04:00
2011-09-10 14:34:15 -04:00
2011-08-24 09:32:13 +02:00
2017-08-10 16:54:57 +02:00