summaryrefslogtreecommitdiff
path: root/src/rules.c
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2021-12-23 14:47:19 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2021-12-23 14:47:19 +0900
commit5f5ff9576322b449fca131df791f4748e412df5f (patch)
treefc7068d472fa2fb11cb5ee4d4cf08d48d289c56a /src/rules.c
parent4ddbcf346d1185bacbe63dba6e9317424b5206b9 (diff)
downloadlibsolv-5f5ff9576322b449fca131df791f4748e412df5f.tar.gz
libsolv-5f5ff9576322b449fca131df791f4748e412df5f.tar.bz2
libsolv-5f5ff9576322b449fca131df791f4748e412df5f.zip
Imported Upstream version 0.7.20upstream/0.7.20
Diffstat (limited to 'src/rules.c')
-rw-r--r--src/rules.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rules.c b/src/rules.c
index b1b5f09..212df32 100644
--- a/src/rules.c
+++ b/src/rules.c
@@ -3203,7 +3203,7 @@ solver_choicerulecheck2(Solver *solv, Id pi, Id pt, Queue *q)
if (!ur->p)
ur = solv->rules + solv->featurerules + (pi - pool->installed->start);
if (!ur->p)
- return 0;
+ return 1; /* orphaned, thus newest */
queue_push2(q, pi, 0);
FOR_RULELITERALS(p, pp, ur)
if (p > 0 && p != pi)