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

Solaris: Do not read from errno when libc did not indicate error. #448

Merged
merged 1 commit into from
Jun 2, 2024

Conversation

briansmith
Copy link
Contributor

errno is only guaranteed to be set correctly when the function's return value indicates that the function failed. Handle the case where an unexpected negative result is returned separately from the case where the function failed.

errno is only guaranteed to be set correctly when the function's
return value indicates that the function failed. Handle the case
where an unexpected negative result is returned separately from the
case where the function failed.
@newpavlov newpavlov merged commit c1e0d31 into rust-random:master Jun 2, 2024
52 checks passed
@briansmith briansmith deleted the b/solaris-error-checking branch June 2, 2024 21:15
@newpavlov newpavlov mentioned this pull request Oct 11, 2024
newpavlov added a commit that referenced this pull request Oct 11, 2024
Tweak the breaking changes section and add entries for #415, #440, #442,
#448, #504, and #512.
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.

2 participants