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

Make UWP GetPortNames closer to Fx one #31591

Merged
merged 1 commit into from
Aug 7, 2018

Conversation

pjanotti
Copy link
Contributor

@pjanotti pjanotti commented Aug 3, 2018

Fixes #31575 by making it more like the Fx version, i.e.: return empty array in case of error - GetCommPorts returned ERROR_FILE_NOT_FOUND when no ports were present.

Opportunistically avoid a potential race mentioned by @vbaderks in #31539.

@pjanotti pjanotti self-assigned this Aug 3, 2018
@pjanotti
Copy link
Contributor Author

pjanotti commented Aug 3, 2018

@dotnet-bot test UWP CoreCLR arm64 Release Build

@pjanotti pjanotti merged commit d07e5ad into dotnet:master Aug 7, 2018
@pjanotti pjanotti deleted the fix.getports.arm64 branch August 7, 2018 15:18
@karelz karelz added this to the 3.0 milestone Aug 21, 2018
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
4 participants