Skip to content
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

handle errno(6) in os.write #22113

Merged
merged 4 commits into from
Dec 10, 2024
Merged

Conversation

allocgator
Copy link
Contributor

Fixes #18240

@nektro
Copy link
Contributor

nektro commented Dec 1, 2024

NoDevice has to be added to WriteError

@allocgator
Copy link
Contributor Author

Added NoDevice to the WriteError block.

Tested using zig test lib/std/std.zig --zig-lib-dir lib

@alexrp alexrp merged commit c172877 into ziglang:master Dec 10, 2024
10 checks passed
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.

errno(6): No such device or address is not handled in os.write
3 participants