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

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

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

Visibility: public

Requested revision: 67455c5e70e86dbb7805ff9a415f1b13b14f36da

Requested commit: 67455c5e70e86dbb7805ff9a415f1b13b14f36da

Commit: 67455c5e70e86dbb7805ff9a415f1b13b14f36da

Tree: fa7595c252a11f6c8af198e099b1161d8766c276

Author: Jacob Young

Committer: Jacob Young

## 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

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

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