mirror of
https://gitlab.freedesktop.org/pkg-config/pkg-config.git
synced 2026-05-05 07:38:12 +02:00
Remove extra spaces from list debugging output
Also, make pre- and post-sorting output aligned to easily ordering differences.
This commit is contained in:
parent
1d285978bb
commit
e2910a6afd
1 changed files with 4 additions and 6 deletions
10
pkg.c
10
pkg.c
|
|
@ -593,13 +593,13 @@ spew_package_list (const char *name,
|
|||
{
|
||||
GSList *tmp;
|
||||
|
||||
debug_spew (" %s: ", name);
|
||||
|
||||
debug_spew (" %s:", name);
|
||||
|
||||
tmp = list;
|
||||
while (tmp != NULL)
|
||||
{
|
||||
Package *pkg = tmp->data;
|
||||
debug_spew (" %s ", pkg->key);
|
||||
debug_spew (" %s", pkg->key);
|
||||
tmp = tmp->next;
|
||||
}
|
||||
debug_spew ("\n");
|
||||
|
|
@ -700,10 +700,8 @@ fill_list (GSList *packages, GetListFunc func,
|
|||
if (in_path_order)
|
||||
{
|
||||
spew_package_list ("original", expanded);
|
||||
|
||||
expanded = packages_sort_by_path_position (expanded);
|
||||
|
||||
spew_package_list ("sorted", expanded);
|
||||
spew_package_list (" sorted", expanded);
|
||||
}
|
||||
|
||||
merge_flag_lists (expanded, func, listp);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue