commit: 60232a12416e58fdae27d97cf9c62d95659a7db4
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 14 11:47:55 2019 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sun Jul 14 11:47:55 2019 +0000
URL: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=60232a12
qatom: fix atom matching wrt command line arguments
ensure we match things without category or with expressions
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
qsize.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/qsize.c b/qsize.c
index ce4acc1..10aadc8 100644
--- a/qsize.c
+++ b/qsize.c
@@ -113,7 +113,7 @@ qsize_cb(tree_pkg_ctx *pkg_ctx, void *priv)
qatom = tree_get_atom(pkg_ctx, 0);
array_for_each(state->atoms, i, atom)
- if (atom_compare(atom, qatom) == EQUAL) {
+ if (atom_compare(qatom, atom) == EQUAL) {
showit = true;
break;
}