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

Commits on Jun 2, 2024

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

    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.
    briansmith committed Jun 2, 2024
    Configuration menu
    Copy the full SHA
    dda709f View commit details
    Browse the repository at this point in the history