[tac_plus] Re: opt_G broken again :(

John Payne john at sackheads.org
Mon Mar 16 18:06:40 UTC 2009


On Mar 16, 2009, at 9:53 AM, John Payne wrote:

> The opt_G timeline:
>
> First patch: http://www.shrubbery.net/pipermail/tac_plus/2007-October/000158.html
> Second patch to fix defunct processes: http://www.shrubbery.net/pipermail/tac_plus/2007-October/000163.html
> Third patch to make it work: http://www.shrubbery.net/pipermail/tac_plus/2008-June/000246.html
>
> Unfortunately, the third patch has started causing defunct processes
> again.

This seems to resolve the defunct process issue:

*** tac_plus.c.orig	2009-03-16 14:05:29.000000000 -0400
--- tac_plus.c	2009-03-16 14:05:49.000000000 -0400
***************
*** 447,452 ****
--- 447,457 ----
   	     */
   	    open_logfile();
   	}
+ #ifndef REAPCHILD
+         signal(SIGCHLD, reapchild);
+ #else
+         signal(SIGCHLD, SIG_IGN);
+ #endif /* REAPCHILD */
       }

       ostream = NULL;


Probably a cleaner way, but... it works for me :)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.shrubbery.net/pipermail/tac_plus/attachments/20090316/7f2a6494/attachment.html 


More information about the tac_plus mailing list