On Sep 24, 2004, at 16:30, <[EMAIL PROTECTED]> wrote:

Doug Hardie wrote:
On Sep 24, 2004, at 13:48, <[EMAIL PROTECTED]> wrote:

Matthew.van.Eerde wrote:
There seems to be a problem with clamav-milter's --pidfile option.

I retract this. The --pidfile option is fine.


Line 1408 of clamav-milter.c has

                                fprintf(fd, "%d\n", (int)getpid());

which will put a \n at the end of the pid value in the pid file.

Yes but I retract my opinion that this is a problem. kill `cat clamav-milter.pid` wasn't working, and I wrongly blamed this on the newline.
It turned out after experiment that kill $PID wasn't working either.
But killall clamav-milter worked so I'm going with that.

The \n should not be in that print statement. I use the pid file for checking to be sure servers are still running and that requires that the code be modified for that particular situation.




-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to