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...@spamassassin.apache.org on 2022/06/13 10:14:01 UTC

[Bug 8007] POSIX::_exit of forked child in Win32 terminates parent process

https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8007

Sidney Markowitz <si...@sidney.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
                 CC|                            |sidney@sidney.com
             Status|NEW                         |RESOLVED

--- Comment #1 from Sidney Markowitz <si...@sidney.com> ---
Found a fourth place that used _exit, in Util::force_die(), so changed the call
to _exit there and replaced all other calls to _exit to call force_die instead.

This isn't enough to get pyzor running om Windows, but it is a necessary step.
The rest of the changes for that will be in other issues.

trunk % svn ci -m "bug 8007 - POSIX::_exit in forked child on Windows
terminates parent, use exit() instead if on Windows" 
lib/Mail/SpamAssassin/Util.pm lib/Mail/SpamAssassin/Plugin/Pyzor.pm
lib/Mail/SpamAssassin/Plugin/Razor2.pm spamd/spamd.raw
Sending        lib/Mail/SpamAssassin/Plugin/Pyzor.pm
Sending        lib/Mail/SpamAssassin/Plugin/Razor2.pm
Sending        lib/Mail/SpamAssassin/Util.pm
Sending        spamd/spamd.raw
Transmitting file data ....done
Committing transaction...
Committed revision 1901875.

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