You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2007/12/21 23:05:33 UTC

[Bug 5606] [review] spamc/spamd tests fail due to broken -x logic

http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5606


sidney@sidney.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Status Whiteboard|needs 2 votes for 3.2       |needs 1 votes for 3.2




------- Additional Comments From sidney@sidney.com  2007-12-21 14:05 -------
init() caches whether it has already been called, returning immediately if it
has. It is documented in the comments for init() that it can safely be called
multiple times.

The point of this fix is to move the call to init_learner until after the call
to preload_modules_with_tmp_homedir() because that calls
$spamtest->compile_now(0,1) which calls init() with the first argument to
compile_now, i.e., init(0). After that it is safe to call init(1) as it has no
effect.

+1 on this patch




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