# std.os.windows.OpenFile: handle DELETE_PENDING · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/6d6f6a4ac6f1f2666fa2d4500ef4634fdfe0d947)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 6d6f6a4ac6f1f2666fa2d4500ef4634fdfe0d947

Requested commit: 6d6f6a4ac6f1f2666fa2d4500ef4634fdfe0d947

Commit: 6d6f6a4ac6f1f2666fa2d4500ef4634fdfe0d947

Tree: 3bd6fa9ddb21fd74572feb5c771f2617defb1ebb

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.os.windows.OpenFile: handle DELETE_PENDING

This error means that there *was* a file in this location on the file
system, but it was deleted. However, the OS is not finished with the
deletion operation, and so this CreateFile call has failed. There is not
really a sane way to handle this other than retrying the creation after
the OS finishes the deletion.

```

## Parents

- [717e2c8718a3161d6b86317b6132fa296325a88c](https://git.cafe/gitcafe/zig/commit/717e2c8718a3161d6b86317b6132fa296325a88c?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/6d6f6a4ac6f1f2666fa2d4500ef4634fdfe0d947?format=markdown)
