]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/algorithms.cc
fix another missing va_end()
[apt.git] / apt-pkg / algorithms.cc
index b08b8dcfc8d8c34488c9b57f62848938667c5f75..85799a11b9cbc17f955c22df05d929f03c716dce 100644 (file)
@@ -846,8 +846,8 @@ bool pkgProblemResolver::ResolveInternal(bool const BrokenFix)
    while (Again == true);
 
    if (Debug == true) {
-      clog << "Starting" << endl;
-      clog << " Broken count: " << Cache.BrokenCount() << endl;
+      clog << "Starting pkgProblemResolver with broken count: " 
+           << Cache.BrokenCount() << endl;
    }
    
    MakeScores();
@@ -877,8 +877,8 @@ bool pkgProblemResolver::ResolveInternal(bool const BrokenFix)
    }
 
    if (Debug == true) {
-      clog << "Starting 2" << endl;
-      clog << " Broken count: " << Cache.BrokenCount() << endl;
+      clog << "Starting 2 pkgProblemResolver with broken count: " 
+           << Cache.BrokenCount() << endl;
    }
 
    /* Now consider all broken packages. For each broken package we either
@@ -1444,9 +1444,11 @@ bool pkgProblemResolver::ResolveByKeepInternal()
    return true;
 }
                                                                        /*}}}*/
-// ProblemResolver::InstallProtect - Install all protected packages    /*{{{*/
+// ProblemResolver::InstallProtect - deprecated cpu-eating no-op       /*{{{*/
 // ---------------------------------------------------------------------
-/* This is used to make sure protected packages are installed */
+/* Actions issued with FromUser bit set are protected from further
+   modification (expect by other calls with FromUser set) nowadays , so we
+   don't need to reissue actions here, they are already set in stone. */
 void pkgProblemResolver::InstallProtect()
 {
    pkgDepCache::ActionGroup group(Cache);