Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its 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

Fix race condition in fs::create_dir_all #30152

Closed
wants to merge 1 commit into from

Commits on Dec 1, 2015

  1. Fix race condition in fs::create_dir_all

    The code would crash if the directory was created after create_dir_all
    checked whether the directory already existed.  This was contrary to
    the documentation which claimed to create the directory if it doesn't
    exist, implying (but not stating) that there would not be a failure
    due to the directory existing.
    droundy committed Dec 1, 2015
    Configuration menu
    Copy the full SHA
    9710b31 View commit details
    Browse the repository at this point in the history