Package: debpool
Severity: minor
Tags: patch
Vcs-* entries are official and they will appear below the Files entry
in a .dsc file. This patch will stop parsing the files in the Files
entry of the .dsc file when either a blank line or a new entry is
detected.
diff -urN share/DebPool/Packages.pm~ share/DebPool/Packages.pm
--- share/DebPool/Packages.pm~ 2007-12-03 12:58:18.000000000 -0500
+++ share/DebPool/Packages.pm 2007-12-03 12:58:25.000000000 -0500
@@ -488,7 +488,7 @@
for $count (0..$#dsc) {
if ($found) {
- if ($dsc[$count] =~ m/^\s*$/) { # Blank line
+ if ($dsc[$count] =~ m/^(\s*$|\S)/) { # End of Files entry
$found = 0; # No longer in Files
} elsif ($dsc[$count] =~ m/\s*([[:xdigit:]]+)\s+(\d+)\s+(\S+)/) {
my($md5, $size, $file) = ($1, $2, $3);
--
Regards,
Andres Mejia
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]