aboutsummaryrefslogtreecommitdiff
path: root/coreutils/rmdir.c
diff options
context:
space:
mode:
authorTimo Teras <timo.teras@iki.fi>2012-02-10 09:55:24 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2012-02-23 03:22:25 +0100
commitaf36ba206f7cf0eef77a82af741766a2d03c51ad (patch)
treef0ef45fd3278b46b04c9baa932756a4e3aa8cd09 /coreutils/rmdir.c
parentcfcb1dac83c9e18a06a07f0b212f6701bb87c2ad (diff)
downloadbusybox-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 'coreutils/rmdir.c')
0 files changed, 0 insertions, 0 deletions