From: ajt <> Date: Mon, 2 Oct 2000 09:32:35 +0000 (-0800) Subject: [project @ 2000-10-02 02:32:35 by ajt] X-Git-Tag: release/2.6.0~1264 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=1ebec718d3f4ec1fe349ccd05594cbd4e3ba6549;p=debbugs.git [project @ 2000-10-02 02:32:35 by ajt] The [...]'ed field in index files is now the submitter. You have to read the maintainers file and associate with the bug's package if you want to work out a bug's maintainer. (This change just updates some variable names) --- diff --git a/cgi/common.pl b/cgi/common.pl index a9b1d9c7..f3d45e52 100644 --- a/cgi/common.pl +++ b/cgi/common.pl @@ -198,12 +198,12 @@ sub htmlizebugs { } sub submitterbugs { - my $maint = shift; + my $submitter = shift; my $chk = sub { my %d = @_; - ($maintemail = $d{"maint"}) =~ s/\s*\(.*\)\s*//; - if ($maintemail =~ m/<(.*)>/) { $maintemail = $1 } - return $maintemail eq $maint; + ($subemail = $d{"submitter"}) =~ s/\s*\(.*\)\s*//; + if ($subemail =~ m/<(.*)>/) { $subemail = $1 } + return $subemail eq $submitter; }; return getbugs($chk); } @@ -244,7 +244,7 @@ sub getbugs { while() { if (m/^(\S+)\s+(\d+)\s+(\S+)\s+(\d+)\s+\[\s*([^]]*)\s*\]\s+(\w+)\s+(.+)$/) { - if ($bugfunc->(pkg => $1, bug => $2, maint => $5, + if ($bugfunc->(pkg => $1, bug => $2, submitter => $5, severity => $6, title => $7)) { push (@result, $2);