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

fix: ensure "no conversion" result is checked correctly #146

Merged

Commits on Aug 19, 2024

  1. fix: ensure "no conversion" result is checked correctly

    Although POSIX said user should check errno instead of return value,
    but errno may not be set when no conversion is performed according to C99.
    Check nptr is same as str_end to ensure there is no conversion.
    
    Signed-off-by: Celeste Liu <CoelacanthusHex@gmail.com>
    CoelacanthusHex committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    7b49f45 View commit details
    Browse the repository at this point in the history