aboutsummaryrefslogtreecommitdiff
path: root/src/codegen/spirv.zig
diff options
context:
space:
mode:
authorxEgoist <egoist@egoistic.dev>2023-04-18 19:59:33 -0500
committerxEgoist <egoist@egoistic.dev>2023-04-18 19:59:33 -0500
commit8c79559748b9828d2ad6a5bff89db4da0283d6b2 (patch)
treec5b835f843f6c4ebd003d52ab2abbe7a241ae4c0 /src/codegen/spirv.zig
parent55b2456c1187b22b2b8e2d3643aff86815dae551 (diff)
downloadzig-8c79559748b9828d2ad6a5bff89db4da0283d6b2.tar.gz
zig-8c79559748b9828d2ad6a5bff89db4da0283d6b2.zip
windows: Handle `DELETE_PENDING` in `DeleteFile`.
DELETE_PENDING can happen when the file is yet to be closed for deletion or if it never get closed. In that case, DeleteFile should assume the file deletion is succeeding (no CloseHandle is required as it's a "failure"). In case of `DELETE_PENDING` failure, the file may still exist. In which case if it's part of `deleteTree`, it will eventually fail on `error.DirNotEmpty`.
Diffstat (limited to 'src/codegen/spirv.zig')
0 files changed, 0 insertions, 0 deletions