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 2010/03/02 15:56:28 UTC

[Bug 6359] New: win32: posix macro not implemented - Util.pm

https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6359

           Summary: win32: posix macro not implemented - Util.pm
           Product: Spamassassin
           Version: 3.3.0
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: major
          Priority: P5
         Component: spamc/spamd
        AssignedTo: dev@spamassassin.apache.org
        ReportedBy: lemke@jam-software.com


Created an attachment (id=4687)
 --> (https://issues.apache.org/SpamAssassin/attachment.cgi?id=4687)
win32 posix macro patch

The use of POSIX::SIGALRM() in Util.pm crashes spamd with the following error:

warn: spamd: Your vendor has not defined POSIX macro SIGALRM, used at
C:/Perl/site/lib/Mail/SpamAssassin/Util.pm line 1564

The posix signal is used to create a unsafe signal handler for any perl version
> 5.8, however this is not necessary for windows so we can use the 'old' SIG.

Patch attached

-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 6359] [review] win32: posix macro not implemented - Util.pm

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

Justin Mason <jm...@jmason.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jm@jmason.org
  Status Whiteboard|needs 2 votes               |needs 1 vote

--- Comment #2 from Justin Mason <jm...@jmason.org> 2010-03-02 17:08:37 UTC ---
+1

-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 6359] [review] win32: posix macro not implemented - Util.pm

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

Warren Togami <wa...@togami.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Status Whiteboard|needs 1 vote                |ready for commit

--- Comment #3 from Warren Togami <wa...@togami.com> 2010-03-11 03:17:29 UTC ---
+1

-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 6359] [review] win32: posix macro not implemented - Util.pm

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

Mark Martinec <Ma...@ijs.si> changed:

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

--- Comment #4 from Mark Martinec <Ma...@ijs.si> 2010-03-11 10:53:22 UTC ---
trunk:
Bug 6359, no POSIX::SIGALRM on Windows, just use %SIG
Sending lib/Mail/SpamAssassin/Util.pm
Committed revision 921795.

3.3:
Bug 6359, no POSIX::SIGALRM on Windows, just use %SIG
Sending lib/Mail/SpamAssassin/Util.pm
Committed revision 921797.

-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 6359] [review] win32: posix macro not implemented - Util.pm

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

Mark Martinec <Ma...@ijs.si> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|win32: posix macro not      |[review] win32: posix macro
                   |implemented - Util.pm       |not implemented - Util.pm
  Status Whiteboard|                            |needs 2 votes

-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 6359] win32: posix macro not implemented - Util.pm

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

Mark Martinec <Ma...@ijs.si> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P5                          |P1
   Target Milestone|Undefined                   |3.3.1

--- Comment #1 from Mark Martinec <Ma...@ijs.si> 2010-03-02 15:37:57 UTC ---
+1

-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.