# Windows: Fix fs.Dir.openDir not handling STATUS_NOT_A_DIRECTORY · gitcafe/zig

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

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

Visibility: public

Requested revision: f50ed941746c7c5ca4643080fbd2228491df6f19

Requested commit: f50ed941746c7c5ca4643080fbd2228491df6f19

Commit: f50ed941746c7c5ca4643080fbd2228491df6f19

Tree: 455cbebb981b19f783b75e58927a98c3c94f257c

Author: Ryan Liptak

Committer: Ryan Liptak

## Message

```
Windows: Fix fs.Dir.openDir not handling STATUS_NOT_A_DIRECTORY

Now correctly returns error.NotDir

```

## Parents

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

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