https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6377
Summary: win32: spamd signal handling
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]
Created an attachment (id=4713)
--> (https://issues.apache.org/SpamAssassin/attachment.cgi?id=4713)
signal handling for spamd under win32
Ok some last minor changes and I stop bothering you (for now) ;)
I had to disable the SIG{USR2} since this is another signal which isn't
supported under windows. This is not a big issue but it throws a warning for
every start of spamd:
warn: No such signal: SIGUSR2 at [...]
Beside this, windows isn't able to handle SIGCHLD, this is a more serious
problem since a child isn't able to exit properly (however, spamd is working
while not reaching its maximum children):
warn: prefork: kill of child -364 failed: Invalid argument
To make sure the children can exit properly, we have to send our windows kill
signal (kill QUIT => 0) for each unix kill 'like' signal. (see sub
setup_child_sig_handlers())
I tested this changes with the latest SVN Trunk and it was working well.
--
Configure bugmail:
https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.