From: Theodore Tso Date: Wed, 3 May 1995 21:00:41 +0000 (+0000) Subject: Fix reversed sense of #ifdef OLD_SIGNALS to prevent use of calling signal() X-Git-Tag: krb5-1.0-beta5~42 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=adb5a6904e007c02411d58a0db97d8c1ce9b9b0a;p=krb5.git Fix reversed sense of #ifdef OLD_SIGNALS to prevent use of calling signal() from within a signal handler; it's not needed if you're using sigaction(), and it tickles a bug in Solaris. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5711 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/kadmin.old/server/adm_network.c b/src/kadmin.old/server/adm_network.c index 84c250ff6..75e5aad8f 100644 --- a/src/kadmin.old/server/adm_network.c +++ b/src/kadmin.old/server/adm_network.c @@ -89,7 +89,7 @@ do_child() #endif int pid, i, j; -#ifndef OLD_SIGNALS +#ifdef OLD_SIGNALS signal(SIGCHLD, do_child); #endif