summaryrefslogtreecommitdiffstats
path: root/sys-utils/setarch.c
diff options
context:
space:
mode:
authorSami Kerola2017-12-03 13:51:15 +0100
committerKarel Zak2017-12-04 13:04:12 +0100
commit378d58abb1c0d417dc9d4341e9852c27dd475dd7 (patch)
tree349dcefade04a385d619bfbfece095b6e4c128be /sys-utils/setarch.c
parentvipw: do not let editor to inherit open file descriptors (diff)
downloadkernel-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