Hello.

Received this patch to fix Debian Bug#151627 in procmail
(i.e, formail -n not working). Will there be a procmail 3.23 release
some day officially fixing this and other bugs?

--- formisc.c.orig      2006-03-07 09:37:17.374517000 +0100
+++ formisc.c   2006-03-07 09:37:22.134517000 +0100
@@ -183,10 +183,10 @@
                 retval=excode;
            }                                          /* reap some children */
        while(childlimit&&children>=childlimit||(child=fork())==-1&&children)
-          for(--children;(excode=waitfor((pid_t)0))!=NO_PROCESS;)
+          for(--children;(excode=waitfor((pid_t)0))!=NO_PROCESS;--children)
            { if(excode!=EXIT_SUCCESS)
                 retval=excode;
-             if(--children<=maxchild)
+             if(children<=maxchild)
                 break;
            }
       }


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to