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 musl build #206

Merged
merged 2 commits into from
Apr 18, 2022
Merged

Fix musl build #206

merged 2 commits into from
Apr 18, 2022

Commits on Apr 14, 2022

  1. efisecdb: fix build with musl libc

    Refactor code to use POSIX atexit(3) instead of the GNU specific
    on_exit(3).
    
    Resolves: rhboot#197
    Resolves: rhboot#202
    Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
    ncopa committed Apr 14, 2022
    Configuration menu
    Copy the full SHA
    cece3ff View commit details
    Browse the repository at this point in the history
  2. efisecdb: do not free optarg

    The *outfile passed to parse_input_files can only be either set to
    optarg or be NULL. optarg should not be free'd and NULL does not need
    to.
    
    Since we no longer use on_exit to unlink outfile we also don't need to
    set *outfile to NULL.
    
    Fixes commit d917870 (efisecdb: add efisecdb)
    
    Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
    ncopa committed Apr 14, 2022
    Configuration menu
    Copy the full SHA
    df09b47 View commit details
    Browse the repository at this point in the history