mirror of
https://git.openwrt.org/project/make_ext4fs.git
synced 2025-02-12 16:34:09 +00:00
![Wojtek Porczyk](/assets/img/avatar_default.png)
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>
Description
No description provided
Languages
C
99.6%
Makefile
0.4%