[Avcheck] avcheck-0.5 woes
Michael Tokarev
mjt@tls.msk.ru
Fri, 26 Oct 2001 19:37:11 +0400
adi wrote:
>
> On Fri, Oct 26, 2001 at 11:09:05AM +0200, Ralf Hildebrandt wrote:
> > The -w option is documented, but not implemented.
>
> hmm.. I haven't use any antivirus for my MTA yet :-)
> anyway, how about this patch:
>
> --- avcheck.c.ORIG Fri Oct 26 17:15:04 2001
> +++ avcheck.c Fri Oct 26 17:23:18 2001
> @@ -633,6 +633,7 @@
> case 'n': nosend = 1; break;
> case 'i': iscript = optarg; break;
> case 'c': mailclient = 1; break;
> + case 'w': waitfile = optarg; break;
> default:
> err(0, "-h for help");
> }
>
> seems that Michael forget to put that on getopt().
> sorry, I couldn't test that patch, while I though it is that simple
> :-)
Yup... In fact, it *was* here sometime ago, but I once deleted
that line by my mistake (I tested -w option when first added it).
With DrWeb, no `waitfile' mechanics needed (it works perfectly
even if interrupted in process of checking a file), and it doesn't
need a restart (kill -HUP is sufficient) -- so I not yet noticied
this my error. Anyway, yes, you're right, thanks!
Regards,
Michael.