Repository navigation
Commit ec6ca85
committed
Read Gradle copies through the FIFO-safe opener
The superseded-copy probe read installed files with a bare read, so a
FIFO or device planted in a Gradle cache directory would block
rollback and remove forever. It now uses read_regular_to_bytes like
the neighbouring Gradle checks; a non-regular file is refused and
counts as possibly patched, so the copy fails as before.
Assisted-by: Claude Code:claude-opus-5-51 parent 1494f42 commit ec6ca85
1 file changed
Lines changed: 26 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2899 | 2899 | | |
2900 | 2900 | | |
2901 | 2901 | | |
2902 | | - | |
| 2902 | + | |
| 2903 | + | |
| 2904 | + | |
| 2905 | + | |
2903 | 2906 | | |
2904 | 2907 | | |
2905 | 2908 | | |
| |||
3477 | 3480 | | |
3478 | 3481 | | |
3479 | 3482 | | |
| 3483 | + | |
| 3484 | + | |
| 3485 | + | |
| 3486 | + | |
| 3487 | + | |
| 3488 | + | |
| 3489 | + | |
| 3490 | + | |
| 3491 | + | |
| 3492 | + | |
| 3493 | + | |
| 3494 | + | |
| 3495 | + | |
| 3496 | + | |
| 3497 | + | |
| 3498 | + | |
| 3499 | + | |
| 3500 | + | |
| 3501 | + | |
| 3502 | + | |
| 3503 | + | |
| 3504 | + | |
3480 | 3505 | | |
3481 | 3506 | | |
3482 | 3507 | | |
| |||
0 commit comments