freebsd-skq/usr.bin/xinstall
bapt b0f07fc79a 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
Makefile.depend.host
xinstall.c install: do not follow symlinks 2015-11-20 08:45:59 +00:00