On 2009-02-28 12:18, Jose-Marcio Martins da Cruz wrote:
> I see. Removing a '\n' when it's just before the '\0' may not be better 
> but doesn't harm. I'm wrong ?
>   

As I said, that is a problem if the filename ends with \n, if I remove
the \n it will no longer find the file.

> I'm trying to figure out what's the best way to maintain compatibility 
> between different versions of clamd and j-chkmail (and other filters). 
> There are people who are still using old versions (one year old or even 
> more) of clamd or the filter. Compatibility shall be ok even if the age 
> difference between clamd/filter is more than a year, in both directions.
>   

Use nCOMMANDS, those work with both old, and new clamd.
You may want to look at the FILDES command also, that is supported by
both 0.94 and 0.95.

Best regards,
--Edwin
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to