freebsd-dev/usr.bin/xinstall
Baptiste Daroussin d0b9260683 install: do not follow symlinks
In case the target of install is a dead symlink, install(1) used to not
consider it as "existing" because of the usage of stat(2) instead of
lstat(2).  meaning the old file (the symlink) is not removed before the new
file is created. The symlink is being followed and the new file becoming the
target of the symlink instead of the target of install(1)

Reviewed by:	jhb, brooks
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D4191
2015-11-20 08:45:59 +00:00
..
install.1 xinstall: renumber UCB clauses to avoid skipping #3 2015-09-25 20:25:18 +00:00
Makefile Remove unneeded libmd from bootstrap-tools (reverting r246784). 2015-11-18 21:37:46 +00:00
Makefile.depend Add META_MODE support. 2015-06-13 19:20:56 +00:00
Makefile.depend.host new depends 2015-06-16 23:37:19 +00:00
xinstall.c install: do not follow symlinks 2015-11-20 08:45:59 +00:00