8000 Atomic creation of compilation directory by martin-heralecky · Pull Request #786 · PHP-DI/PHP-DI · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Atomic creation of compilation directory #786

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact it 8000 s maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 10, 2021
Merged

Atomic creation of compilation directory #786

merged 1 commit into from
Jun 10, 2021

Conversation

martin-heralecky
Copy link
Contributor
@martin-heralecky martin-heralecky commented Jun 9, 2021

closes #785

Added additional check for whether the directory exists. This way, if the mkdir() fails, but the directory does exists afterwards (was presumably created by another script running at the same time), no exception is thrown.

@martin-heralecky
8000 Copy link
Contributor Author

I'd greatly appreciate, if this could be patched to 6.* as well.

@mnapoli mnapoli added the bug label Jun 10, 2021
@mnapoli
Copy link
Member
mnapoli commented Jun 10, 2021

Makes sense, thank you!

I'll merge and release master, which is 6.x

@mnapoli mnapoli merged commit f53bcba into PHP-DI:master Jun 10, 2021
@martin-heralecky martin-heralecky deleted the atomic-create-compilation-directory branch June 10, 2021 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Creating compilation directory is not atomic
2 participants
0