# Fix std.os.unlinkatW for absolute paths · gitcafe/zig

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

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

Visibility: public

Requested revision: d7579a2fcb0edaa1f6036101d00316abccac0c7e

Requested commit: d7579a2fcb0edaa1f6036101d00316abccac0c7e

Commit: d7579a2fcb0edaa1f6036101d00316abccac0c7e

Tree: fbf429e419a20f4a2411c1ec10b8ec3be9dbb189

Author: Ryan Liptak

Committer: Andrew Kelley

## Message

```
Fix std.os.unlinkatW for absolute paths

RootDirectory can't be set in ObjectAttributes if ObjectName is an absolute path.

Fixes #4606

```

## Parents

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

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