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
Jo-Philipp Wich
2f713da924
Remove unused function
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-04-08 07:51:39 +02:00
Jo-Philipp Wich
828ec043d2
Allow specifying reserved blocks percentage
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-04-08 07:51:39 +02:00
Jo-Philipp Wich
67cbf164c7
Remove unused mountpoint support
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-04-08 07:51:39 +02:00
Jo-Philipp Wich
e97166fc4a
Remove unused functions
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-04-08 07:51:39 +02:00
Jo-Philipp Wich
d8400e132c
Remove MinGW support code
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-04-08 07:51:39 +02:00
Jo-Philipp Wich
5e571bcba6
Remove dead selinux code
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-04-08 07:51:39 +02:00
Jo-Philipp Wich
8597212da1
Fix fs configuration support
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-04-08 07:51:39 +02:00
Jo-Philipp Wich
5ba1807f75
Remove Android specific code paths
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-04-08 07:51:39 +02:00
Jo-Philipp Wich
fe8f2ce6f4
Remove references to O_BINARY
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-04-08 07:51:39 +02:00
Jo-Philipp Wich
c657f39e16
Implement support for block and char dev nodes, fifos and sockets.
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-04-08 07:51:27 +02:00
Jo-Philipp Wich
58ace71d8c
Remove selinux support code
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-04-04 22:42:53 +02:00
Jo-Philipp Wich
fb5c011b49
Import make_ext4fs sources
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-04-04 22:26:16 +02:00