bd53eaafbc
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> |
||
---|---|---|
include/private | ||
libsparse | ||
allocate.c | ||
allocate.h | ||
canned_fs_config.c | ||
canned_fs_config.h | ||
contents.c | ||
contents.h | ||
crc16.c | ||
ext4_extents.h | ||
ext4_kernel_headers.h | ||
ext4_sb.c | ||
ext4_sb.h | ||
ext4_utils.c | ||
ext4_utils.h | ||
ext4.h | ||
ext4fixup.c | ||
ext4fixup.h | ||
extent.c | ||
extent.h | ||
indirect.c | ||
indirect.h | ||
jbd2.h | ||
make_ext4fs_main.c | ||
make_ext4fs.c | ||
Makefile | ||
MODULE_LICENSE_APACHE2 | ||
NOTICE | ||
sha1.c | ||
sha1.h | ||
uuid.c | ||
uuid.h | ||
wipe.c | ||
wipe.h | ||
xattr.h |