The following commit has been merged in the master branch:
commit ab148dcdd00a1878e0947827ab3168511e5eba04
Author: Niels Thykier <[email protected]>
Date:   Thu Jan 13 21:15:22 2011 +0100

    Conditionally leave the collection-reap loop
    
    Only leave the loop that reaps collection processes if the finished
    collection will allow Lintian to start a new collection or check.

diff --git a/frontend/lintian b/frontend/lintian
index 842efae..dd0c46b 100755
--- a/frontend/lintian
+++ b/frontend/lintian
@@ -1199,9 +1199,9 @@ foreach my $pkg_info ($schedule->get_all) {
 
            $map->satisfy('coll-' . $coll);
 
-           # give a chance to other jobs to finish while we
-           # process other stuff:
-           last;
+           # If that node allowed us to start on another, then we
+           # leave this loop.
+           last unless ($map->selectable());
        }
 
        unless ($no_override or $loaded_overrides) {

-- 
Debian package checker


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to