## Steven Stern ([EMAIL PROTECTED]):

> The same thing happens in 0.73. Reading the man page, it seems that it is a
> WAD.
>  clamdscan [options] [file/directory]
> clamdscan scans one file or one directory tree
> clamscan works on multiple files.

Have a look at the source :)
- clamav-0.73/clamscan/options.c ll. 140, where opt->filename is created
- clamav-0.73/clamscan/manager.c ll. 279, clamscan goes through the files
- clamav-0.73/clamdscan/client.c ll. 208, clamdscan just uses opt-filename
  without the loop as in manager.c.

It should be possible to put the logic from manager.c into client.c.

Regards,
Christoph

-- 
Spare Space


-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to