diff options
author | Sami Kerola | 2017-12-03 13:51:15 +0100 |
---|---|---|
committer | Karel Zak | 2017-12-04 13:04:12 +0100 |
commit | 378d58abb1c0d417dc9d4341e9852c27dd475dd7 (patch) | |
tree | 349dcefade04a385d619bfbfece095b6e4c128be /sys-utils/setarch.c | |
parent | vipw: do not let editor to inherit open file descriptors (diff) | |
download | kernel-qcow2-util-linux-378d58abb1c0d417dc9d4341e9852c27dd475dd7.tar.gz kernel-qcow2-util-linux-378d58abb1c0d417dc9d4341e9852c27dd475dd7.tar.xz kernel-qcow2-util-linux-378d58abb1c0d417dc9d4341e9852c27dd475dd7.zip |
rename: use access(3) to check if a file exists
This is more lightweight than calling stat(3). In same go add a regression
test to ensure changes like this will not break --no-overwrite option.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'sys-utils/setarch.c')
0 files changed, 0 insertions, 0 deletions