PR27349, ar breaks symlinks
authorAlan Modra <amodra@gmail.com>
Fri, 5 Feb 2021 12:03:08 +0000 (22:33 +1030)
committerAlan Modra <amodra@gmail.com>
Fri, 5 Feb 2021 20:58:21 +0000 (07:28 +1030)
commit51a25252814f8b6f88ff5999a091e47ca1dbdeb9
treed6b2900260eda1738051117c6775b1f9c1dce530
parent9c9d63b15ad548f65f8bfd41cb7a4ef9af5ccb28
PR27349, ar breaks symlinks

PR 27349
* rename.c (smart_rename): Test for existence and type of output
file with lstat.
binutils/ChangeLog
binutils/rename.c