commit:     a1e44dbf5cec055ce0300249d6d14c58f961062f
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sun Oct  4 11:08:57 2020 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sun Oct  4 11:08:57 2020 +0000
URL:        https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=a1e44dbf

qlop: ensure running merges are calculated of off package names #731122

Bug: https://bugs.gentoo.org/731122
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 qlop.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/qlop.c b/qlop.c
index 385613a..f8248d4 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);

Reply via email to