]> git.ipfire.org Git - thirdparty/libsolv.git/commit
Fix repo_unset clearing wrong field for SOLVABLE_SUPPLEMENTS 621/head
authorIgor Raits <igor.raits@gmail.com>
Wed, 6 May 2026 06:48:24 +0000 (08:48 +0200)
committerIgor Raits <igor.raits@gmail.com>
Wed, 6 May 2026 06:48:24 +0000 (08:48 +0200)
commitf0fc219adfbe1aec1d759bae226aab84e59cac9a
treeaa63080943a32499261bb19faa017c996507eb17
parent7d644209b6f84608312e26d33c907fffd47102f0
Fix repo_unset clearing wrong field for SOLVABLE_SUPPLEMENTS

The case for SOLVABLE_SUPPLEMENTS was missing a return statement
and fell through to SOLVABLE_ENHANCES, so calling repo_unset() with
SOLVABLE_SUPPLEMENTS cleared both s->supplements and s->enhances.
Bug has been present since the function (originally repo_set_deleted)
was added in 5f153e32 (2012).
src/repo.c