From 1ebec718d3f4ec1fe349ccd05594cbd4e3ba6549 Mon Sep 17 00:00:00 2001 From: ajt <> Date: Mon, 2 Oct 2000 01:32:35 -0800 Subject: [PATCH] [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) --- cgi/common.pl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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); -- 2.39.5