Repository navigation
Commit bddea50
skua: cp names a missing source on Windows (fix of a6a1341)
The missing source reached the copy loop as CpError::Error(String) with
Windows' text, not as CpError::IoErr, so a6a1341's arm never matched (CI:
test_cp_multiple_files_with_nonexistent_file / _empty_file_name). On Windows
the loop now checks the source itself, as GNU cp stats it first, and prints
`cp: cannot stat 'x': No such file or directory`.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent a86ff7a commit bddea50
1 file changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1541 | 1541 | | |
1542 | 1542 | | |
1543 | 1543 | | |
1544 | | - | |
1545 | | - | |
1546 | | - | |
| 1544 | + | |
| 1545 | + | |
| 1546 | + | |
| 1547 | + | |
| 1548 | + | |
| 1549 | + | |
| 1550 | + | |
1547 | 1551 | | |
1548 | 1552 | | |
1549 | 1553 | | |
| |||
0 commit comments