]> git.ipfire.org Git - thirdparty/libsolv.git/commit
getdecisionlist: keep track of all literals from a unit rule
authorMichael Schroeder <mls@suse.de>
Tue, 9 Apr 2024 09:26:39 +0000 (11:26 +0200)
committerMichael Schroeder <mls@suse.de>
Tue, 9 Apr 2024 09:30:32 +0000 (11:30 +0200)
commit29ebc283f819dc4c24534fa50a62931e262a5c32
tree6e7140e8ca92030297ed0084e148548d1ed71b0f
parent709092ef523a7255b5b8d1e5b1468931afb107d4
getdecisionlist: keep track of all literals from a unit rule

Otherwise, sort_unit_decisions() may not find a unit rule and
go into and endless loop. Before this commit, we left out
conflicted packages to make the decisionlist shorter.

An alternative would be to track those left out literals.

Fixes #558.
src/decision.c