git: ln(1): Sync up with FreeBSD.

Sascha Wildner swildner at crater.dragonflybsd.org
Mon Mar 23 13:11:43 PDT 2015


commit 8957cdb51ae75457ab52b39e0b6b8779092093fa
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)
      options.
    
    * 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.
      Reported-by: marino

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(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8957cdb51ae75457ab52b39e0b6b8779092093fa


-- 
DragonFly BSD source repository


More information about the Commits mailing list