# Fix file locking on windows · gitcafe/zig

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

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

Visibility: public

Requested revision: 117d15ed7a230d065cf88faa8156c08f7160e08b

Requested commit: 117d15ed7a230d065cf88faa8156c08f7160e08b

Commit: 117d15ed7a230d065cf88faa8156c08f7160e08b

Tree: 024eb7846cca4ebc82d6c46b0300a621ca44c5c2

Author: LeRoyce Pearson

Committer: LeRoyce Pearson

## Message

```
Fix file locking on windows

The share_access bitfield was being ORed with what was supposed to be
parts of the default value, meaning that the share_access would be
more permissive than expected.

```

## Parents

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

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