commit | af36ba206f7cf0eef77a82af741766a2d03c51ad | [log] [tgz] |
---|---|---|
author | Timo Teras <timo.teras@iki.fi> | Fri Feb 10 09:55:24 2012 +0200 |
committer | Denys Vlasenko <vda.linux@googlemail.com> | Thu Feb 23 03:22:25 2012 +0100 |
tree | f0ef45fd3278b46b04c9baa932756a4e3aa8cd09 | |
parent | cfcb1dac83c9e18a06a07f0b212f6701bb87c2ad [diff] |
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>