Skip to content

Update Windows ReadFile and WriteFile to recognise Access Denied error #23651

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

Merged
merged 2 commits into from
Apr 27, 2025

Conversation

psbob
Copy link
Contributor

@psbob psbob commented Apr 25, 2025

This fixes #23648 on windows where a read/write to a disconnected virtual com port results in error.Unexpected rather than error.AccessDenied.

…r when a read or write is attempted on a disconnected virtual com port
@alexrp alexrp requested a review from squeek502 April 25, 2025 12:30
@alexrp alexrp enabled auto-merge (squash) April 26, 2025 12:32
@alexrp alexrp merged commit d92649d into ziglang:master Apr 27, 2025
17 of 18 checks passed
@psbob psbob deleted the disconnect-VCP branch April 28, 2025 18:25
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.

error.Unexpected on Windows when attempting to read/write disconnected USB Virtual Com Port
3 participants