[EXIM] exim -q<time> without -bd broken

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Ben Smithurst
Data:  
Para: Exim Users
Assunto: [EXIM] exim -q<time> without -bd broken
running a queue-running daemon without it being a listening daemon
causes a core dump (sig 11) here. This patch seems to fix it ...

--- ../exim-2.054/src/daemon.c    Mon Nov 23 14:26:53 1998
+++ src/daemon.c    Sun Dec  6 21:41:36 1998
@@ -1263,7 +1263,7 @@


     /* Deal with an accepting process. */


-    for (i = 0; i < smtp_accept_max; i++)
+    if (daemon_listen) for (i = 0; i < smtp_accept_max; i++)
       {
       if (smtp_pid_slots[i] == pid)
         {


combined daemons (-bd and -q<time> in one daemon) weren't affected.

--
Ben Smithurst
ben@???

send a blank message to ben+pgp@??? for PGP key

--
*** Exim information can be found at http://www.exim.org/ ***