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

Don't re-define strlcpy/strlcat with >=glibc-2.38 #646

Merged
merged 1 commit into from
Aug 30, 2023

Commits on Aug 30, 2023

  1. Don't re-define strlcpy/strlcat with >=glibc-2.38

    `>=glibc-2.38` implements strlcpy, strlcat, etc so check for those functions
    with Meson and don't provide conflicting prototypes.
    
    Technically, it doesn't need _GNU_SOURCE, but it's easier because it's not
    clear right now what glibc wants to guard it with. Note that these are in
    POSIX next anyway.
    
    Fixes: OpenRC#643
    Signed-off-by: Sam James <[email protected]>
    thesamesam committed Aug 30, 2023
    Configuration menu
    Copy the full SHA
    61ccad1 View commit details
    Browse the repository at this point in the history