[setup - the official Cygwin setup program] branch topic/libsolv, updated. release_2.881-37-g1808d40

jturney-9JcytcrH/[email protected]
Newsgroups gmane.os.cygwin.cvs.apps
Message-ID <[email protected]>


https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/setup.git;h=1808d40ab46627f4002d3ef7946ace8a5ed62aea

commit 1808d40ab46627f4002d3ef7946ace8a5ed62aea
Author: Jon Turney <[email protected]>
Date:   Sat Sep 30 17:37:12 2017 +0100

    Revert "Try to improve the solver's default solution"
    
    This reverts commit b4a62044abb8d9a23a6c9685adb6716f87e8df6b.
    
    Using this solver flag seems to cause all packages to get upgraded.


Diff:
---
 libsolv.cc |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/libsolv.cc b/libsolv.cc
index 285121b..6b40716 100644
--- a/libsolv.cc
+++ b/libsolv.cc
@@ -709,7 +709,6 @@ SolverSolution::update(SolverTasks &tasks, bool update, bool use_test_packages,
 
   solver_set_flag(solv, SOLVER_FLAG_ALLOW_VENDORCHANGE, 1);
   solver_set_flag(solv, SOLVER_FLAG_ALLOW_DOWNGRADE, 0);
-  solver_set_flag(solv, SOLVER_FLAG_FOCUS_BEST, 1);
   solver_solve(solv, &job);
   queue_free(&job);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.