The following commit has been merged in the master branch:
commit e2e0f0adcddc73cee2325caef236135d9d31759d
Author: Niels Thykier <[email protected]>
Date:   Sat Feb 23 21:55:12 2013 +0100

    L::Unpacker: Break the wait loop if a task is waiting
    
    Signed-off-by: Niels Thykier <[email protected]>

diff --git a/lib/Lintian/Unpacker.pm b/lib/Lintian/Unpacker.pm
index 0ac017c..a7d43bc 100644
--- a/lib/Lintian/Unpacker.pm
+++ b/lib/Lintian/Unpacker.pm
@@ -494,10 +494,8 @@ sub process_tasks {
             # If the entry is marked as failed, don't break the loop
             # for it.
             next if exists $failed{$procid};
-            if ($cmap->selectable) {
-                $nohang = 1;
-                $active{$procid} = 1;
-            }
+            $active{$procid} = 1 $cmap->selectable;
+            $nohang = 1 if %active;
         }
 
         # Stop when there are no running jobs and no new pending ones.

-- 
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