Wojtek Porczyk bd53eaafbc make_ext4fs: explicitly call setlocale() before creating image
The alphasort(3) function, which is used as comparison function for
scandir(3) is locale dependent (at least in glibc, in which it defers to
strcoll(3)). This patch explicitly calls setlocale(3), setting the
locale to "C".

Currently, there are no other calls to setlocale(), so this does not
change the behaviour. However, we'd like to be sure that in the future
no-one will break that.

Signed-off-by: Wojtek Porczyk <woju@invisiblethingslab.com>
2015-12-02 17:05:03 +01:00
2015-04-08 07:51:39 +02:00
2015-04-04 22:26:16 +02:00
2015-04-04 22:26:16 +02:00
2015-04-08 07:51:39 +02:00
2015-04-08 07:51:39 +02:00
2015-04-04 22:26:16 +02:00
2015-04-04 22:26:16 +02:00
2015-04-04 22:26:16 +02:00
2015-04-08 07:51:39 +02:00
2015-04-04 22:26:16 +02:00
2015-04-08 07:51:39 +02:00
2015-04-04 22:26:16 +02:00
2015-04-04 22:26:16 +02:00
2015-04-04 22:26:16 +02:00
2015-04-04 22:26:16 +02:00
2015-04-04 22:26:16 +02:00
2015-04-04 22:26:16 +02:00
2015-09-14 16:59:23 +02:00
2015-04-04 22:26:16 +02:00
2015-05-01 18:13:00 +02:00
2015-05-01 18:13:00 +02:00
2015-04-08 07:51:39 +02:00
2015-04-04 22:26:16 +02:00
2015-04-04 22:26:16 +02:00
2015-04-04 22:26:16 +02:00
2015-04-04 22:26:16 +02:00
Description
No description provided
153 KiB
Languages
C 99.6%
Makefile 0.4%