Directory.renameFile fails on symlinks
|Reported by:||magunter||Owned by:||nobody|
|Type of failure:||None/Unknown||Test Case:|
|Related Tickets:||Differential Rev(s):|
renameFile fails on symbolic links when I believe it shouldn't. The problem is that it uses withFileStatus which uses stat(2) instead of lstat(2). As a result it fails when trying to rename a link which points nowhere and (presumably -- I haven't tested this) or a link to a directory. BTW, I was surprised to not find a "standard library" bug category.
Note: See TracTickets for help on using tickets.