diff options
author | Timo Teras <timo.teras@iki.fi> | 2012-02-10 09:55:24 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2012-02-23 03:22:25 +0100 |
commit | af36ba206f7cf0eef77a82af741766a2d03c51ad (patch) | |
tree | f0ef45fd3278b46b04c9baa932756a4e3aa8cd09 /shell/ash_test/ash-redir/redir5.tests | |
parent | cfcb1dac83c9e18a06a07f0b212f6701bb87c2ad (diff) | |
download | busybox-af36ba206f7cf0eef77a82af741766a2d03c51ad.tar.gz |
mkdir: fix permissions on 64-bit platforms
sizeof(long) != sizeof(mode_t), this causes the compare in
bb_make_directory of (long)-1 != (mode_t)-1 to fail and mess up
the permissions of final directory by doing chmod((mode_t) -1).
Signed-off-by: Timo Teras <timo.teras@iki.fi>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/ash_test/ash-redir/redir5.tests')
0 files changed, 0 insertions, 0 deletions