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

Use g_spawn_check_wait_status instead of deprecated check_exit_status #42

Merged
merged 1 commit into from
Nov 11, 2022

Commits on Nov 11, 2022

  1. Use g_spawn_check_wait_status instead of deprecated check_exit_status

    The function we're calling always expected a wait-status parameter
    as produced by g_spawn_sync() or waitpid(), not an exit status as
    returned by WEXITSTATUS(), so its old name was misleading and was
    deprecated in GLib 2.70. git-evtag correctly passes a wait status
    to it.
    
    In older GLib versions we can continue to use the deprecated name.
    
    Signed-off-by: Simon McVittie <smcv@collabora.com>
    smcv committed Nov 11, 2022
    Configuration menu
    Copy the full SHA
    99b6b81 View commit details
    Browse the repository at this point in the history