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 2005/10/31 17:54:40 UTC

[Bug 4656] New: AWL throws unnecessary error if lockfile creation failed

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

           Summary: AWL throws unnecessary error if lockfile creation failed
           Product: Spamassassin
           Version: 3.1.0
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: trivial
          Priority: P5
         Component: Plugins
        AssignedTo: dev@spamassassin.apache.org
        ReportedBy: jamie@mccarthy.vg


If Plugin/AWL.pm fails to create a lock file, $whitelist remains undef and the eval attempt to clean it up 
drops an unnecessary error line (into my syslog):

Oct 31 11:33:26 ralph spamd[643]: Can't call method "finish" on an undefined value at /usr/share/perl5/
Mail/SpamAssassin/Plugin/AWL.pm line 397.

The one-liner fix is probably obvious but I'll attach a patch in a moment, anyway.



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

[Bug 4656] AWL throws unnecessary error if lockfile creation failed

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


spamassassin@dostech.ca changed:

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




------- Additional Comments From spamassassin@dostech.ca  2005-10-31 18:24 -------


*** This bug has been marked as a duplicate of 4617 ***



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

[Bug 4656] AWL throws unnecessary error if lockfile creation failed

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





------- Additional Comments From jamie@mccarthy.vg  2005-10-31 17:55 -------
Created an attachment (id=3221)
 --> (http://issues.apache.org/SpamAssassin/attachment.cgi?id=3221&action=view)
One-liner fix




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