freebsd-skq/usr.bin/xinstall
bapt 6dbd460022 MFC: r291091
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
Differential Revision:	https://reviews.freebsd.org/D4191
2015-12-04 20:41:44 +00:00
..
install.1 New install flags were merged to 9-STABLE and will appear in FreeBSD-9.2. 2013-06-05 17:02:21 +00:00
Makefile MFC r291026: 2015-12-04 18:48:08 +00:00
xinstall.c MFC: r291091 2015-12-04 20:41:44 +00:00