This repository has been archived on 2024-11-01. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
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
include/private Remove Android specific code paths 2015-04-08 07:51:39 +02:00
libsparse Remove MinGW support code 2015-04-08 07:51:39 +02:00
allocate.c Import make_ext4fs sources 2015-04-04 22:26:16 +02:00
allocate.h Import make_ext4fs sources 2015-04-04 22:26:16 +02:00
canned_fs_config.c Support comments in fs config 2015-04-08 07:51:39 +02:00
canned_fs_config.h Fix fs configuration support 2015-04-08 07:51:39 +02:00
contents.c Remove unused functions 2015-04-08 07:51:39 +02:00
contents.h Remove dead selinux code 2015-04-08 07:51:39 +02:00
crc16.c Import make_ext4fs sources 2015-04-04 22:26:16 +02:00
ext4_extents.h Import make_ext4fs sources 2015-04-04 22:26:16 +02:00
ext4_kernel_headers.h Import make_ext4fs sources 2015-04-04 22:26:16 +02:00
ext4_sb.c Import make_ext4fs sources 2015-04-04 22:26:16 +02:00
ext4_sb.h Allow specifying reserved blocks percentage 2015-04-08 07:51:39 +02:00
ext4_utils.c Allow specifying reserved blocks percentage 2015-04-08 07:51:39 +02:00
ext4_utils.h Remove unused mountpoint support 2015-04-08 07:51:39 +02:00
ext4.h Import make_ext4fs sources 2015-04-04 22:26:16 +02:00
ext4fixup.c Remove unused functions 2015-04-08 07:51:39 +02:00
ext4fixup.h Import make_ext4fs sources 2015-04-04 22:26:16 +02:00
extent.c Import make_ext4fs sources 2015-04-04 22:26:16 +02:00
extent.h Import make_ext4fs sources 2015-04-04 22:26:16 +02:00
indirect.c Import make_ext4fs sources 2015-04-04 22:26:16 +02:00
indirect.h Import make_ext4fs sources 2015-04-04 22:26:16 +02:00
jbd2.h Import make_ext4fs sources 2015-04-04 22:26:16 +02:00
make_ext4fs_main.c Allow specifying reserved blocks percentage 2015-04-08 07:51:39 +02:00
make_ext4fs.c make_ext4fs: explicitly call setlocale() before creating image 2015-12-02 17:05:03 +01:00
Makefile Add option to link zlib statically 2015-09-14 16:59:23 +02:00
MODULE_LICENSE_APACHE2 Import make_ext4fs sources 2015-04-04 22:26:16 +02:00
NOTICE Import make_ext4fs sources 2015-04-04 22:26:16 +02:00
sha1.c avoid using libc's internal sys/cdefs.h 2015-05-01 18:13:00 +02:00
sha1.h avoid using libc's internal sys/cdefs.h 2015-05-01 18:13:00 +02:00
uuid.c Remove MinGW support code 2015-04-08 07:51:39 +02:00
uuid.h Import make_ext4fs sources 2015-04-04 22:26:16 +02:00
wipe.c Import make_ext4fs sources 2015-04-04 22:26:16 +02:00
wipe.h Import make_ext4fs sources 2015-04-04 22:26:16 +02:00
xattr.h Import make_ext4fs sources 2015-04-04 22:26:16 +02:00