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

Remove use of locale-specific strerror_r. #440

Merged
merged 2 commits into from
May 31, 2024

Commits on May 31, 2024

  1. Remove use of locale-specific strerror_r.

    strerror_r doesn't necessarily return UTF-8 but we assume it does.
    
    strerror_r is locale-sensitive but we are better off not being
    locale-sensitive.
    
    strerror_r requires us to use libc but increasingly we want to
    avoid libc, e.g. to support x86_64-unknown-linux-none.
    
    Just remove the use of the function.
    briansmith committed May 31, 2024
    Configuration menu
    Copy the full SHA
    f8a69c5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1cbce31 View commit details
    Browse the repository at this point in the history