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

Do not use open64 #326

Merged
merged 1 commit into from Jan 6, 2023
Merged

Do not use open64 #326

merged 1 commit into from Jan 6, 2023

Commits on Jan 6, 2023

  1. Use open instead of open64

    glibc is providing open64 and other lfs64 functions but musl aliases
    them to normal equivalents since off_t is always 64-bit on musl,
    therefore check for target env along when target OS is linux before
    using open64, this is more available. Latest Musl has made these
    namespace changes [1]
    
    There is no need for using LFS64 open explicitly as we are only using it
    for opening device files and not real files
    
    [1] https://git.musl-libc.org/cgit/musl/commit/?id=246f1c811448f37a44b41cd8df8d0ef9736d95f4
    
    Signed-off-by: Khem Raj <raj.khem@gmail.com>
    kraj committed Jan 6, 2023
    Copy the full SHA
    7c80ae7 View commit details
    Browse the repository at this point in the history