From: Steinar H. Gunderson Date: Thu, 8 Mar 2007 23:49:05 +0000 (+0000) Subject: More nvi cleanups. X-Git-Url: https://git.donarmstrong.com/?p=bugscan.git;a=commitdiff_plain;h=1d48352df6dd715ee357af799781e5a5b1439190 More nvi cleanups. --- diff --git a/bugcounts b/bugcounts index 46cdf36..b0337fc 100755 --- a/bugcounts +++ b/bugcounts @@ -64,12 +64,7 @@ for my $p (keys %scanlib::packagelist) { my $sect = ($scanlib::comments{$nr} =~ m/\[([^]]*)\]/); $sectcount{$sect}++; } - unless ($scanlib::bugs{$nr} =~ m/^\[[^]]*I/ or - $scanlib::bugs{$nr} =~ m/ \[[^]]*X/ or - ($scanlib::bugs{$nr} =~ m/ \[[^]]*[OSUE]/ and $scanlib::bugs{$nr} !~ m/ \[[^]]*T/)) { - $worrycount++; - # print STDERR "$nr $bugs{$nr}\n"; - } + $worrycount++ if (scanlib::check_worry($scanlib::bugs{$nr})); } if (defined($scanlib::comments{$p}) && $scanlib::comments{$p} =~ m/^\[REMOVE\]/) {