Fix reversed sense of #ifdef OLD_SIGNALS to prevent use of calling signal()
authorTheodore Tso <tytso@mit.edu>
Wed, 3 May 1995 21:00:41 +0000 (21:00 +0000)
committerTheodore Tso <tytso@mit.edu>
Wed, 3 May 1995 21:00:41 +0000 (21:00 +0000)
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

src/kadmin.old/server/adm_network.c

index 84c250ff6880f460f2074713cc3d7efd34ffc0e2..75e5aad8ff2c12d6c6b0d4b959b1f7c69beaa517 100644 (file)
@@ -89,7 +89,7 @@ do_child()
 #endif
     int pid, i, j;
 
-#ifndef OLD_SIGNALS
+#ifdef OLD_SIGNALS
     signal(SIGCHLD, do_child);
 #endif