]> Dogcows Code - chaz/tint2/commitdiff
fixed defunct process after fork
authorThierry Lorthiois <lorthiois@bbsoft.fr>
Sat, 4 Jul 2009 14:58:08 +0000 (14:58 +0000)
committerThierry Lorthiois <lorthiois@bbsoft.fr>
Sat, 4 Jul 2009 14:58:08 +0000 (14:58 +0000)
ChangeLog
src/tint.c

index dcb119a7ce7b48fad848117aa22b2bea4de52b3c..def751b731dcf6d18af92f00cf95154d7e245baa 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,5 @@
+2009-07-04
+- fixed 'defunct' process after fork
 
 ----------------------------------------------------------------
 2009-06-30  thilor77 <lorthiois@bbsoft.fr>
index d062c703126d7006058509eabee1b1977525ac63..dc90b02220b5e220211383b7dcfb2b9a8a989e44 100644 (file)
@@ -53,6 +53,7 @@ void init ()
        signal(SIGINT, signal_handler);
        signal(SIGTERM, signal_handler);
        signal(SIGHUP, signal_handler);
+       signal(SIGCLD, SIG_IGN);                // don't have to wait() after fork()
 
    // set global data
    memset(&server, 0, sizeof(Server_global));
This page took 0.026104 seconds and 4 git commands to generate.