[PATCH] D64301: Use `ln -n` to prevent forming a symlink cycle, instead of rm'ing the source

Hubert Tong via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 26 19:34:08 PDT 2019


hubert.reinterpretcast added a comment.

In D64301#1603499 <https://reviews.llvm.org/D64301#1603499>, @thakis wrote:

> Which platforms doesn't it work on?


`ln -n` means something different on AIX: https://www.ibm.com/support/knowledgecenter/en/ssw_aix_72/l_commands/ln.html
`-n` is not documented as a standard option for the `ln` utility by POSIX.1-2017: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/ln.html


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D64301/new/

https://reviews.llvm.org/D64301





More information about the cfe-commits mailing list