Repository navigation
file_system: a CopyFile2 already cancelled creates nothing in the overlay - #9547
ItsNotRexed merged 1 commit into
Conversation
|
On Windows Server 2022 x64, the two new overlay tests fail on the parent and pass on I set
For a valid copy, native Windows returned REQUEST_ABORTED and left the destination absent. Clearing the flag copied all 65,536 bytes. The existing destination also kept its three original bytes in the fail-if-exists case. Could you split destination validation from directory creation, then check cancellation between them? That would preserve the parent’s three error results and keep your new guarantee that a cancelled copy creates nothing. The comparison uses synthetic files and both the system and forced fallback paths. Windows run and probe output AI-assisted. |
|
Windows check of The cancelled- |
What
Check CopyFile2 cancellation before preparing the destination overlay.
Why
An already cancelled copy must not create overlay parent directories.
Tested
AI-assisted.
@ItsNotRexed: an exe PR, as you asked.
Claim: #9401 (comment)