According to Armin Bauer <[EMAIL PROTECTED]>: > > +void sig_child(int crap) > +{ > + waitpid(-1, NULL, WNOHANG); > + signal(SIGCHLD,sig_child); > +} > > int main (int argc, char **argv) > { > @@ -1988,6 +1995,7 @@ > textdomain (PACKAGE); > #endif > > + signal(SIGCHLD,sig_child);
Why not using sigaction(2) ? It is better and don't need to rearm... Even signal(2) manpage recommends sigaction(2). Hub -- AbiWord maintainer - Lille, France http://www.figuiere.net/hub/ GPG fingerprint: 6C44 DB3E 0BF3 EAF5 B433 239A 5FEE 05E6 A56E 15A3 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Multisync-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/multisync-devel