The following commit has been merged in the master branch:
commit ea007e4c515897be567d2b7fae21c7e3b2f7e9c9
Author: Bart Martens <[email protected]>
Date:   Tue Nov 1 20:29:44 2011 +0100

    Added error checking, from 2011-04-18.

diff --git a/bin/extract_files b/bin/extract_files
index 5c57bab..a94fba0 100755
--- a/bin/extract_files
+++ b/bin/extract_files
@@ -564,6 +564,10 @@ sub read_deb {
        }
     }
     $cache{$debname} ||= qx/dpkg-deb --info "$debname" control/;
+    unless ( $cache{$debname} ) {
+       do_warning( "extracting control information of file $debname failed" );
+       return;
+    }
     my $control = $cache{$debname};
 
     unless ( $raw_data = $parser->parse_mem( $control,

-- 
APT Archive Web-Frontend (Alioth repository)


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to