aboutsummaryrefslogtreecommitdiff
path: root/qlop.c
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2020-10-04 13:08:57 +0200
committerFabian Groffen <grobian@gentoo.org>2020-10-04 13:08:57 +0200
commita1e44dbf5cec055ce0300249d6d14c58f961062f (patch)
tree33392a9fad31019f50fa1873f53d4f789b104c08 /qlop.c
parentqlop: work around Coverity complaints (diff)
downloadportage-utils-a1e44dbf5cec055ce0300249d6d14c58f961062f.tar.gz
portage-utils-a1e44dbf5cec055ce0300249d6d14c58f961062f.tar.bz2
portage-utils-a1e44dbf5cec055ce0300249d6d14c58f961062f.zip
qlop: ensure running merges are calculated of off package names #731122
Bug: https://bugs.gentoo.org/731122 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'qlop.c')
-rw-r--r--qlop.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/qlop.c b/qlop.c
index 385613ab..f8248d4b 100644
--- a/qlop.c
+++ b/qlop.c
@@ -1305,6 +1305,12 @@ static array_t *probe_proc(array_t *atoms)
xarraydelete_ptr(ret_atoms, j);
atom_implode(atomr);
break;
+ } else {
+ /* bug #731122: match running packages without
+ * version */
+ atomr->PV = NULL;
+ atomr->PVR = NULL;
+ atomr->PR_int = 0;
}
}
atom_implode(atom);