Repository navigation
Conversation
|
GNU testsuite comparison: |
ee8f378 to
60262c6
Compare
| { | ||
| return Err(CpError::IoErrContext( | ||
| error, | ||
| format!("cannot stat {}", dest.quote()), |
There was a problem hiding this comment.
please use translate!() for this message
| let target_missing = match dest.try_exists() { | ||
| Ok(exists) => !exists, | ||
| Err(error) | ||
| if options.backup == BackupMode::None |
There was a problem hiding this comment.
this skips the error with --backup and -l/-s, could you please add a test for those too?
| at.write("good/README", "file2"); | ||
|
|
||
| at.symlink_file("foo", "tmp/README"); | ||
| at.relative_symlink_file("../foo", "tmp/README"); |
There was a problem hiding this comment.
why switch these older tests to relative_symlink_file? seems unrelated to the fix
d18b513 to
0b3d133
Compare
0b3d133 to
c3f3e16
Compare
15e53d8 to
e706c8b
Compare
Merging this PR will improve performance by 17.6%1 warning
Performance Changes
Tip Curious why performance improved? Comment Comparing Footnotes
|
Preserve target lookup errors instead of treating every failed lookup as a missing target. Operations that replace the symlink itself may proceed without accessing its target. Closes uutils#9463.
e706c8b to
b29e6f9
Compare
Preserve target lookup errors instead of treating every failed lookup as a missing target. Operations that replace the symlink itself may proceed without accessing its target.
Closes #9463.