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 2006/12/31 11:02:23 UTC

[Bug 5261] New: Unitialized value error in sa-learn --progress

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

           Summary: Unitialized value error in sa-learn --progress
           Product: Spamassassin
           Version: 3.1.7
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: trivial
          Priority: P5
         Component: spamassassin
        AssignedTo: dev@spamassassin.apache.org
        ReportedBy: leon@vserver152.masterssystems.com


-:[~]#> /usr/bin/sa-learn --progress --mbox --spam /var/mail/spamd
Use of uninitialized value in pattern match (m//) at
/usr/share/perl5/Mail/SpamAssassin/Util/Progress.pm line 155.
Use of uninitialized value in pattern match (m//) at
/usr/share/perl5/Mail/SpamAssassin/Util/Progress.pm line 162.
100% [===========================================]   3.86 msgs/sec 00m29s DONE
Learned tokens from 33 message(s) (115 message(s) examined)



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

[Bug 5261] [review] Unitialized value warning in sa-learn --progress

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5261


parkerm@pobox.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Status Whiteboard|needs 2 votes               |needs 1 vote




------- Additional Comments From parkerm@pobox.com  2007-01-31 20:27 -------
+1



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

[Bug 5261] Unitialized value warning in sa-learn --progress

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5261


felicity@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|Undefined                   |3.1.8






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

[Bug 5261] [review] Unitialized value warning in sa-learn --progress

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5261


felicity@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Unitialized value warning in|[review] Unitialized value
                   |sa-learn --progress         |warning in sa-learn --
                   |                            |progress
  Status Whiteboard|                            |needs 2 votes




------- Additional Comments From felicity@apache.org  2007-01-31 20:16 -------
for 3.2:
Sending        lib/Mail/SpamAssassin/Util/Progress.pm
Transmitting file data .
Committed revision 502116.




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

[Bug 5261] Unitialized value warning in sa-learn --progress

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5261





------- Additional Comments From felicity@apache.org  2007-01-31 20:14 -------
Created an attachment (id=3852)
 --> (http://issues.apache.org/SpamAssassin/attachment.cgi?id=3852&action=view)
suggested patch

pretty trivial, just check if the value is defined before using it.  also,
don't bother checking $^O multiple times, combine into a single if statement.



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

[Bug 5261] Unitialized value warning in sa-learn --progress

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5261


leon@vserver152.masterssystems.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Unitialized value error in  |Unitialized value warning in
                   |sa-learn --progress         |sa-learn --progress






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

[Bug 5261] [review] Unitialized value warning in sa-learn --progress

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5261





------- Additional Comments From jm@jmason.org  2007-02-02 03:06 -------
+1



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

[Bug 5261] [review] Unitialized value warning in sa-learn --progress

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5261


felicity@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Additional Comments From felicity@apache.org  2007-02-04 11:38 -------
Sending        lib/Mail/SpamAssassin/Util/Progress.pm
Transmitting file data .
Committed revision 503459.




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