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

util: Set errno to 0 before strtol/stroul call #2031

Merged
merged 1 commit into from
Aug 11, 2023

Commits on Aug 11, 2023

  1. util: Set errno to 0 before strtol/stroul call

    In order to be able to distinguish between success/failure case when
    calling strtol/stroul we set errno explicitly to 0.
    
    Signed-off-by: Daniel Wagner <[email protected]>
    igaw committed Aug 11, 2023
    Configuration menu
    Copy the full SHA
    8d9aa2b View commit details
    Browse the repository at this point in the history