http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5656
Summary: ref check of passed $message not working.
Product: Spamassassin
Version: 3.2.3
Platform: Sun
OS/Version: Solaris
Status: NEW
Severity: enhancement
Priority: P5
Component: Libraries
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
I submitted this bug a long time ago, but I had to change the fix to do a REGEX
match on the ref($message) to see if it was from the IO package, and not just a
GLOB. In Message.pm, at line 132, I changed it to this:
# Figure out how the message was passed to us, and deal with it.
my @message;
if (ref $message eq 'ARRAY') {
@message = @{$message};
}
elsif ((ref($message) eq 'GLOB') || (ref($message) =~ /^IO/)) {
if (defined fileno $message) {
@message = <$message>;
}
}
Can this be rolled into the next release?
Thanks,
David.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.