On Tuesday, February 17, 2004 12:36 PM [EST], Andrey Cherezov
<[EMAIL PROTECTED]> wrote:

>
> I found, this problem in the clamscan.exe itself.
> But clamDscan.exe (via clamd.exe) detects all viruses successfully now.
>
> The only required additional fix - change the file clamdscan/client.c:
> line 219:
> under cygwin use
>     sprintf(file, "%s", opt->filename);
> instead of original
>     sprintf(file, "%s/%s", cwd, opt->filename);
> Because in cygwin getcwd() returns /cygdrive/... confusing clamd.exe


Ok, patch added in mine.  I've attached it for anyone else who wants it.


-- 
Brian Bruns
The Summit Open Source Development Group
Open Solutions For A Closed World / Anti-Spam Resources
http://www.sosdg.org

The Abusive Hosts Blocking List
http://www.ahbl.org

Attachment: clamdscan-cygwin.patch
Description: Binary data

Reply via email to