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

           Summary: win32: consider negative pids under windows in spamds
                    waitpid
           Product: Spamassassin
           Version: SVN Trunk (Latest Devel Version)
          Platform: Other
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P5
         Component: spamc/spamd
        AssignedTo: [email protected]
        ReportedBy: [email protected]


As already mentioned in Bug 6356 windows does create negative pids for its
children. In conjunction with spamd this causes the children to be stated as
killed, but not be able to exit properly. 

waitpid(-1, WNOHANG)) > 0)   #unix
waitpid(-1, WNOHANG)) < -1)  #win32

I just added another while loop for this, there may be a much more professional
solution, but I'll leave this to our perl gurus ;)

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

Reply via email to