diff options
author | Dan Nicholson <dbn.lists@gmail.com> | 2012-11-15 06:34:05 -0800 |
---|---|---|
committer | Dan Nicholson <dbn.lists@gmail.com> | 2012-11-28 05:41:10 -0800 |
commit | e2910a6afd709e57ccad59ed9665c55a25f06b5c (patch) | |
tree | 1193f737cb083cf49b22a8ac6c3c4fc3529a8ab0 | |
parent | 1d285978bb7cc473da992f4a563766932a105471 (diff) | |
download | pkg-config-e2910a6afd709e57ccad59ed9665c55a25f06b5c.tar.gz |
Remove extra spaces from list debugging output
Also, make pre- and post-sorting output aligned to easily ordering
differences.
-rw-r--r-- | pkg.c | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -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); |