mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2026-01-14 09:11:02 +00:00
Prevent a panic in `cp -a` when the target of a hard link already
exists in the target directory structure.
For example,
$ mkdir -p src dest/src
$ touch src/f dest/src/f
$ ln src/f src/link
$ cp -a src dest
The `cp` command now succeeds without error.
|
||
|---|---|---|
| .. | ||
| macros.rs | ||
| mod.rs | ||
| random.rs | ||
| util.rs | ||