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

Always pass 9 parameters to tparm() #218

Merged
merged 1 commit into from
Jul 30, 2017
Merged

Always pass 9 parameters to tparm() #218

merged 1 commit into from
Jul 30, 2017

Commits on Jul 30, 2017

  1. Always pass 9 parameters to tparm()

    Some implementations like NetBSD have a non-variadic prototype of
    tparm() requiring 9 explicit parameters. Therefore always make sure to
    pass 9 parameters. Since other implementations uses a variadic prototype
    it will work on them as well.
    
    Inspired by how this solved in the portable version of tmux.
    
    Spotted by Jenz Guenther in PR #216 and later fixed in PR #218.
    mptre committed Jul 30, 2017
    Configuration menu
    Copy the full SHA
    d3a158d View commit details
    Browse the repository at this point in the history