https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7397

--- Comment #15 from Henrik Krohns <[email protected]> ---
(In reply to Michael P from comment #13)
> The decision should be, is sa-update a part of SA or not? Does it not get
> updated with each SA version? Eg.. 

Of course.

> # set debug areas, if any specified (only useful for command-line tools)
> $SAVersion =~ /^(\d+\.\d+)/;
> if ($1+0 > 3.0) {
>   $opt{'debug'} ||= 'all' if (defined $opt{'debug'});
> } else {
>   $opt{'debug'} = defined $opt{'debug'};
> }
> 
> I would assume that if the sa-update matches the installed and running SA,
> that it would only have code for the running version, correct?

Yes.

> Can I deprecate things like this, and assume that we are only writing for
> the current version?

Yes.

It should not be a surprise that some 15 year old code snippets can come up
from time to time. Things were very much different back then.

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

Reply via email to