Simon Munton wrote:
Hi,
After I started using linux kernel 2.6, I found that virus emails were not
being moved to the quarantine directory, and an 'Invalid argument' message
was being logged.
I tracked this down to the call to sendfile in clamav-milter.c. It appears
that on kernel 2.6, sendfile will not do a file to file copy.
The attached patch detects the sendfile failure, and falls back to a read then
write copy loop
No attachment received, but I will look into it and provide a fix if
needed for myself.
Simon
--
Nigel Horne. Arranger, Adjudicator, Band Trainer, Composer, Tutor,
Typesetter.
NJH Music, Barnsley, UK. ICQ#20252325
[EMAIL PROTECTED] http://www.bandsman.co.uk
___
http://lurker.clamav.net/list/clamav-devel.html