install(1): remove -S option, always use temp files
commit64907305a424465aaf8f1456465e7b63dceba2dc
authorLauri Tirkkonen <lotheac@iki.fi>
Mon, 7 Jan 2019 22:57:04 +0000 (8 00:57 +0200)
committerLauri Tirkkonen <lotheac@iki.fi>
Mon, 7 Jan 2019 22:57:04 +0000 (8 00:57 +0200)
tree44e6f0fba1c061e10edb240eec81920810ab45fa
parent5ef8ac143fda4945d188fedf751bd3067ceed479
install(1): remove -S option, always use temp files

this fixes a race: another process could create the target file between
unlink() and open(O_CREAT|O_EXCL)
bin/xinstall/install.1
bin/xinstall/xinstall.c