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

std.posix: Fix errno 13 when writing to file #22536

Merged
merged 2 commits into from
Jan 21, 2025

Conversation

BryceVandegrift
Copy link
Contributor

Fix to issue #22442

@alexrp
Copy link
Member

alexrp commented Jan 21, 2025

Can you also update the doc comment here:

zig/lib/std/posix.zig

Lines 1172 to 1174 in b7b46e6

/// In WASI, this error may occur when the file descriptor does
/// not hold the required rights to write to it.
AccessDenied,

@andrewrk andrewrk merged commit 744771d into ziglang:master Jan 21, 2025
@andrewrk
Copy link
Member

Thanks!

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.

3 participants