Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Update Unix SafeHandle to throw NotFound correctly (#11757) #11807

Merged
merged 1 commit into from
May 23, 2017

Conversation

JeremyKuhne
Copy link
Member

Port for issue https://github.com/dotnet/corefx/issues/20040. CoreFX part is dotnet/corefx#20134.

  • Update Unix SafeHandle to throw NotFound correctly

Need to match Windows semantics for missing files. This means throwing
FileNotFound only if the last segment of the path can't be found.

  • Dispose handle and trim ending separator properly

* Update Unix SafeHandle to throw NotFound correctly

Need to match Windows semantics for missing files. This means throwing
FileNotFound only if the last segment of the path can't be found.

* Dispose handle and trim ending separator properly
@JeremyKuhne JeremyKuhne merged commit 76e9413 into dotnet:release/2.0.0 May 23, 2017
@JeremyKuhne JeremyKuhne deleted the 20040 branch May 23, 2017 22:33
@JeremyKuhne
Copy link
Member Author

#11757 is the master fix.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants