http://bugzilla.spamassassin.org/show_bug.cgi?id=2897

           Summary: --showdots is always on when doing --rebuild in sa-learn
           Product: Spamassassin
           Version: current-CVS
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Learner
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


When doing salearn --rebuild, it will always show the dots (in my case, echo /n 
to STDERR) regardless of the --showdots option.

This is the patch to correct it:

--- /home/dean/Mail-SpamAssassin-2.61/lib/Mail/SpamAssassin/CmdLearn.pm Fri Sep 
19 05:02:40 2003
+++ /usr/lib/perl5/site_perl/5.6.1/Mail/SpamAssassin/CmdLearn.pm        Mon 
Jan  5 03:26:54 2004
@@ -169,7 +169,7 @@
   if ($rebuildonly) {
     $spamtest->rebuild_learner_caches({
                verbose => 1,
-               showdots => \$opt{'showdots'}
+               showdots => $opt{'showdots'}
     });
     $spamtest->finish_learner();
     return 0;



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

Reply via email to