--- rpl/src/Attic/siginfo.c 2010/08/25 16:40:57 1.1 +++ rpl/src/Attic/siginfo.c 2010/09/02 07:51:48 1.4 @@ -1,6 +1,6 @@ /* ================================================================================ - RPL/2 (R) version 4.0.18 + RPL/2 (R) version 4.0.19 Copyright (C) 1989-2010 Dr. BERTRAND Joël This file is part of RPL/2. @@ -441,7 +441,7 @@ horodatage() return(ts); } -static int +int queue_in(pid_t pid, int signal) { int queue; @@ -706,6 +706,11 @@ origine_signal(int signal) // base[0] - 1 : dernière interruption lue pid = buffer[((((base[0] + base[2] - 1) % base[2]) - ((base[3] - base[2]) + 1)) + base[2]) % base[2]]; + + if (kill(pid, 0) != 0) + { + pid = getpid(); + } } else {