git: ln(1): Sync up with FreeBSD.
swildner at crater.dragonflybsd.org
Mon Mar 23 13:11:43 PDT 2015
Author: Sascha Wildner <saw at online.de>
Date: Mon Mar 23 21:09:09 2015 +0100
ln(1): Sync up with FreeBSD.
* Adds POSIX.1-2008's -L (hardlinks to symbolic links link to the
symlink target, which stays our default) and -P (hardlinks to
symbolic links link to the symlink itself) options.
* Adds -F (if the target is a directory, remove it to make the link
happen) and -w (warns if the source of a symlink does not exist)
* Some bug fixes I guess. :)
* It also improves the checks for identical files. Our former checks
were producing kind of confusing results in conjunction with
'install -C' (i.e., for libraries and includes, if LINKS is used
from the Makefile) upon repeated installation.
Summary of changes:
bin/ln/Makefile | 3 +-
bin/ln/ln.1 | 153 ++++++++++++++++++++++++++++++-----
bin/ln/ln.c | 237 +++++++++++++++++++++++++++++++++++++------------------
bin/ln/symlink.7 | 98 +++++++++++++++--------
4 files changed, 364 insertions(+), 127 deletions(-)
DragonFly BSD source repository
More information about the Commits