ln(1): Sync up with FreeBSD.
authorSascha Wildner <saw@online.de>
Mon, 23 Mar 2015 20:09:09 +0000 (21:09 +0100)
committerSascha Wildner <saw@online.de>
Mon, 23 Mar 2015 20:09:24 +0000 (21:09 +0100)
commit8957cdb51ae75457ab52b39e0b6b8779092093fa
treed789975bee7b4f7be69280b68bc4359dbf7a3920
parent43376c522d7175f1144a757656f0d0917afda8a6
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
bin/ln/Makefile
bin/ln/ln.1
bin/ln/ln.c
bin/ln/symlink.7