fixed defunct process after fork git-svn-id: http://tint2.googlecode.com/svn/trunk@140 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
lorthiois@bbsoft.fr lorthiois@bbsoft.fr@121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2 files changed,
3 insertions(+),
0 deletions(-)
M
src/tint.c
→
src/tint.c
@@ -53,6 +53,7 @@ signal(SIGUSR1, signal_handler);
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));