spamassassin-dev November 2011 archive
Main Archive Page > Month Archives  > spamassassin-dev archives
spamassassin-dev: [Bug 6698] New improves performance, is

[Bug 6698] New improves performance, is more resilient.

From: <bugzilla-daemon_at_nospam>
Date: Mon Nov 14 2011 - 20:48:35 GMT

--- Comment #11 from Vernon Schryver <> 2011-11-14 20:48:35 UTC ---
> I left in both, added some debugging, and streamlined a bit.
> Please see what came out (svn diff -c1201835) :

can be undefined, I think you really need something like
     my $home = $conf->{dcc_home} || '/var/dcc';
and then using $home instead of $conf->{dcc_home} in line 516.
If the user has not set $conf->{dcc_home}, won't you at best
get undesired results from such as
There is a similar prlbme with the use of $conf->{dcc_libexec}
in line 516 that will cause surprises or perl interpreter
croaking in line 518 if $conf->{dcc_libexec} is not defined by
the user.

I don't understand how some of the changes to regular
expressions or replacing
     if ($x) {
     if (defined $x && $x ne '') {
qualifies as streamlining, but there's no accounting for
tastes and it's now your code.

-- Configure bugmail: ------- You are receiving this mail because: ------- You are the assignee for the bug.