fixed defunct process after fork
git-svn-id: http://tint2.googlecode.com/svn/trunk@140 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
parent
107c838cd2
commit
7646182113
2 changed files with 3 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
|||
2009-07-04
|
||||
- fixed 'defunct' process after fork
|
||||
|
||||
----------------------------------------------------------------
|
||||
2009-06-30 thilor77 <lorthiois@bbsoft.fr>
|
||||
|
|
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue