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

child: add extra args in correct order #7727

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Nov 28, 2024

  1. child: add extra args in correct order

    Previously, the arguments where added in backwards order. Insted:
    `-A -B -C value` it appened `value -C -B -A`, which caused issues with
    value arguments.
    
    This commit refactors the code to add all arguments in natural order
    starting from argv[0]..argv[argc] instead of attempting to create argv
    from the end argv[argc]..argv[0] which can easily create confusion.
    
    Also switched to talloc_zero_array() to handle NULL more intuitively.
    pbrezina committed Nov 28, 2024
    Configuration menu
    Copy the full SHA
    b8034b1 View commit details
    Browse the repository at this point in the history