Skip to content

Conversation

alexcrichton
Copy link
Member

Previously, windows was using the CREATE_NEW flag which fails if the file
previously existed, which differed from the unix semantics. This alters the
opening to use the OPEN_ALWAYS flag to mirror the unix semantics.

Closes #13861

Previously, windows was using the CREATE_NEW flag which fails if the file
previously existed, which differed from the unix semantics. This alters the
opening to use the OPEN_ALWAYS flag to mirror the unix semantics.

Closes rust-lang#13861
bors added a commit that referenced this pull request May 5, 2014
Previously, windows was using the CREATE_NEW flag which fails if the file
previously existed, which differed from the unix semantics. This alters the
opening to use the OPEN_ALWAYS flag to mirror the unix semantics.

Closes #13861
@bors bors closed this May 5, 2014
@bors bors merged commit 8375a22 into rust-lang:master May 5, 2014
@Seldaek
Copy link
Contributor

Seldaek commented May 5, 2014

Thanks!

@alexcrichton alexcrichton deleted the issue-13861 branch May 6, 2014 03:57
arcnmx pushed a commit to arcnmx/rust that referenced this pull request Jan 9, 2023
minor: Tweak Clippy policy wording and drop a useless `format!`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Failure to open existing files in Open mode on windows
4 participants