Commit 554649cf authored by Karl Heyes's avatar Karl Heyes
Browse files

this is needed for linuxthreads, without it, zombie processes are left

when on-[dis]connect is used

svn path=/icecast/trunk/icecast/; revision=9435
parent be78a3ae
......@@ -32,6 +32,7 @@
#ifndef _WIN32
void _sig_hup(int signo);
void _sig_die(int signo);
void _sig_ignore(int signo);
void sighandler_initialize(void)
......@@ -41,11 +42,15 @@ void sighandler_initialize(void)
signal(SIGINT, _sig_die);
signal(SIGTERM, _sig_die);
signal(SIGCHLD, _sig_ignore);
#ifndef _WIN32
void _sig_ignore(int signo)
signal(signo, _sig_ignore);
void _sig_hup(int signo)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment