https://bugzilla.novell.com/show_bug.cgi?id=650645
https://bugzilla.novell.com/show_bug.cgi?id=650645#c9
--- Comment #9 from Tony Yuan 2012-01-06 06:17:53 UTC ---
goto is still used in the patched SpamAssassin. See below for detail
sles11sp1-i386:~ # rpm -qa|grep spam
perl-spamassassin-3.3.1-10.8.1
spamassassin-3.3.1-10.8.1
sles11sp1-i386:~ # grep goto
/usr/lib/perl5/vendor_perl/5.10.0/Mail/SpamAssassin/Plugin/Check.pm
goto run_compiled_method;
==================
snippet of code:
# dbg("rules: eval code to compile: $evalstr");
my $eval_result;
{ my $timer = $self->{main}->time_method('compile_gen');
$eval_result = eval($evalstr);
}
if (!$eval_result) {
my $eval_stat = $@ ne '' ? $@ : "errno=$!"; chomp $eval_stat;
warn "rules: failed to compile $ruletype tests, skipping:\n".
"\t($eval_stat)\n";
$pms->{rule_errors}++;
}
else {
dbg("rules: compiled $ruletype tests");
goto run_compiled_method;
}
}
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.