You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using this code on windows the first time it works and creates the test file, the second time I run it it fails to open the file, opening with Append or Truncate mode works though.
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.
Closesrust-lang#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#13861
derive 'Hash'
clippy doesn't like that `PartialEq` is derived, and `Hash` is manually implemented. This PR resolves that by deriving the `Hash` implementation.
Using this code on windows the first time it works and creates the test file, the second time I run it it fails to open the file, opening with
Append
orTruncate
mode works though.Not sure if it fails on linux, but I'll assume not since nobody reported this yet.
The text was updated successfully, but these errors were encountered: