SA Bugzilla – Bug 4536
[review] avoid breakage when a "warn" event happens before Mail::SA::Logger is loaded
Last modified: 2005-08-19 12:04:41 UTC
if there's a warn-level event during class loading, before Mail::SA::Logger is loaded, the current code dies with a useless message: Undefined subroutine &main::log_message called at ./spamassassin line 33. Compilation failed in require at ./spamassassin line 81. BEGIN failed--compilation aborted at ./spamassassin line 81. patch to follow. btw, sa-learn does not use Mail::SA::Logger. should it?
Created attachment 3079 [details] fix please vote.
in trunk, r233111. please vote for 3.1.0. I think it's pretty trivial btw ;)
Seems to be more than that in this patch.
Created attachment 3080 [details] fix r2 duh. yep, the hazards of using a small terminal window! here's the subset that fixes the bug...
+1
233992.