https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6798
Priority: P2
Bug ID: 6798
Assignee: [email protected]
Summary: WIFEXITED not supported in windows from Util.pm
Severity: normal
Classification: Unclassified
OS: Windows XP
Reporter: [email protected]
Hardware: PC
Status: NEW
Version: 3.3.2
Component: Libraries
Product: Spamassassin
I found this error when enabling the DCC plugin on Windows. I was able to work
around it by redefining the offending commands in Util.pm:
# These are not implemented on windows
if (RUNNING_ON_WINDOWS) {
*WIFEXITED = sub { not $_[0] & 0xff };
*WEXITSTATUS = sub { $_[0] >> 8 };
*WIFSIGNALED = sub { $_[0] & 127 };
*WTERMSIG = sub { $_[0] & 127 };
}
--
You are receiving this mail because:
You are the assignee for the bug.