INN commit: trunk/innd (proc.c)
INN Commit
rra at isc.org
Sat Jun 20 17:23:51 UTC 2015
Date: Saturday, June 20, 2015 @ 10:23:51
Author: iulius
Revision: 9904
innd: don't reap the same process table entry more than once
Thanks to Richard Kettlewell for the patch.
Modified:
trunk/innd/proc.c
--------+
proc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Modified: proc.c
===================================================================
--- proc.c 2015-06-20 17:20:46 UTC (rev 9903)
+++ proc.c 2015-06-20 17:23:51 UTC (rev 9904)
@@ -36,7 +36,7 @@
break;
}
for (pp = PROCtable, i = PROCtablesize; --i >= 0; pp++)
- if (pp->Pid == pid) {
+ if (pp->State == PSrunning && pp->Pid == pid) {
PROCneedscan = true;
pp->Status = WEXITSTATUS(status);
pp->State = PSdead;
More information about the inn-committers
mailing list