summaryrefslogtreecommitdiff
path: root/util-linux/fdformat.c
diff options
context:
space:
mode:
authorDenys Vlasenko2021-09-16 01:53:55 +0200
committerDenys Vlasenko2021-09-17 00:39:21 +0200
commit2df4e0a3707ff3b70398177e9e001070e47ca9c5 (patch)
treea7509505f4f86c8b4c3740b5654f262bc507565e /util-linux/fdformat.c
parent9fe1548bbfde548d54acaab113656a56ea0ccc72 (diff)
downloadbusybox-2df4e0a3707ff3b70398177e9e001070e47ca9c5.zip
busybox-2df4e0a3707ff3b70398177e9e001070e47ca9c5.tar.gz
chmod: correctly report changed modes
Chmod used to incorrectly report as changed even files for which the mode did not change. This was caused by extra bits in the st_mode, that were not present when parsed from passed argument in the form of octal number. Patch by Wolf <wolf@wolfsden.cz>. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/fdformat.c')
0 files changed, 0 insertions, 0 deletions