# std: Remove O_NONBLOCK flag after locking · gitcafe/zig

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

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

Visibility: public

Requested revision: 0d4f05bb8ad12e140b0f93157c3c3d2c87e2738c

Requested commit: 0d4f05bb8ad12e140b0f93157c3c3d2c87e2738c

Commit: 0d4f05bb8ad12e140b0f93157c3c3d2c87e2738c

Tree: 7191bab14506296e3fd40405df8dfb122764772f

Author: LemonBoy

Committer: LemonBoy

## Message

```
std: Remove O_NONBLOCK flag after locking

We only need O_NONBLOCK when O_SHLOCK/O_EXLOCK are used and we don't
want open() to block, don't let this bit leak to the user fd.

```

## Parents

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

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