Skip to content

Add --arch to pacsync and pactrans, solve calloc-transposed-args warnings#75

Open
patlefort wants to merge 2 commits intoandrewgregory:masterfrom
patlefort:add-arch-option
Open

Add --arch to pacsync and pactrans, solve calloc-transposed-args warnings#75
patlefort wants to merge 2 commits intoandrewgregory:masterfrom
patlefort:add-arch-option

Conversation

@patlefort
Copy link

This patch will allow the use of a pacman.conf with no Architecture defined by adding a --arch flag to pacsync and pactrans, and to substitute server values only if needed.

This patch also solve calloc-transposed-args warnings.

patlefort added 2 commits May 30, 2024 14:24
* Make `_pu_subst_server_vars` publicly visible and rename to `pu_config_subst_server_vars`.
* `pu_config_resolve` no longer call `_pu_subst_server_vars`.
* Add --arch flag to pacsync and pactrans.
* Use `pu_config_subst_server_vars` where needed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant