# fs: handle \`OBJECT_NAME_COLLISION\` in \`makeOpenPath\` · gitcafe/zig

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

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

Visibility: public

Requested revision: 2563d32425e35c8500619e93375a8fa9fdeece11

Requested commit: 2563d32425e35c8500619e93375a8fa9fdeece11

Commit: 2563d32425e35c8500619e93375a8fa9fdeece11

Tree: 5475c5c67334e038dc6c2d0db78295d69ff38172

Author: Jacob Young

Committer: Andrew Kelley

## Message

```
fs: handle `OBJECT_NAME_COLLISION` in `makeOpenPath`

This fixes a race condition when two threads/processes try to
`makeOpenPath` the same path simultaneously.

```

## Parents

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

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