# fix std.os.renameatW · gitcafe/zig

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

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

Visibility: public

Requested revision: e36978906214cb8c3dba693a073914394a90d0d8

Requested commit: e36978906214cb8c3dba693a073914394a90d0d8

Commit: e36978906214cb8c3dba693a073914394a90d0d8

Tree: cf3da4a709773dae9c5a23ba0aafa65bde3bb4a9

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
fix std.os.renameatW

Ask for DELETE access when opening the source file.

Additionally, when the source and dest dir are the same, pass null
for RootDirectory.

```

## Parents

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

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