Subject: | statchkdir() not working |
Date: | Wed, 14 Apr 2010 15:17:15 -0400 |
To: | bug-Mail-ClamAV [...] rt.cpan.org |
From: | Dan McD <mcd [...] att.net> |
Hi there.
I think there's a bit of incomplete code in Mail::ClamAV 0.29.
Specifically, the ClamAV statchkdir() method isn't working.
It looks to me like the "is_dir" and "path" elements of struct
clamav_perl aren't ever getting populated, thus the check in
clamav_perl_statchkdir() (ClamAV.pm, line 241) never succeeds.
I've written a quick fix (see attached diff), but I think someone had
something a little more elaborate in mind with the whole is_dir flag
and what not.
Thanks for a great module!
Peace,
-McD
--
Dan McD
<McD@att.net>
Message body is not shown because sender requested not to inline it.