From: Richard Basch Date: Tue, 3 Jan 1995 21:57:28 +0000 (+0000) Subject: Removed old sgi code (it has POSIX signals) X-Git-Tag: krb5-1.0-beta5~862 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=18cba921a3371a65708a7f30763d92da431097ba;p=krb5.git Removed old sgi code (it has POSIX signals) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4791 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/appl/bsd/kcmd.c b/src/appl/bsd/kcmd.c index 3ba322a3f..2f4fabd08 100644 --- a/src/appl/bsd/kcmd.c +++ b/src/appl/bsd/kcmd.c @@ -167,12 +167,8 @@ kcmd(sock, ahost, rport, locuser, remuser, cmd, fd2p, service, realm, sigemptyset(&urgmask); sigaddset(&urgmask, SIGURG); sigprocmask(SIG_BLOCK, &urgmask, &oldmask); -#else -#ifdef sgi - oldmask = sigignore(sigmask(SIGURG)); #else oldmask = sigblock(sigmask(SIGURG)); -#endif #endif /* POSIX_SIGNALS */ for (;;) { @@ -185,9 +181,7 @@ kcmd(sock, ahost, rport, locuser, remuser, cmd, fd2p, service, realm, #ifdef POSIX_SIGNALS sigprocmask(SIG_SETMASK, &oldmask, (sigset_t*)0); #else -#ifndef sgi sigsetmask(oldmask); -#endif #endif /* POSIX_SIGNALS */ if (tmpstr) krb5_xfree(tmpstr); krb5_free_creds(ret_cred); @@ -234,9 +228,7 @@ kcmd(sock, ahost, rport, locuser, remuser, cmd, fd2p, service, realm, #ifdef POSIX_SIGNALS sigprocmask(SIG_SETMASK, &oldmask, (sigset_t*)0); #else -#ifndef sgi sigsetmask(oldmask); -#endif #endif /* POSIX_SIGNALS */ if (tmpstr) krb5_xfree(tmpstr); krb5_free_creds(ret_cred); @@ -404,9 +396,7 @@ kcmd(sock, ahost, rport, locuser, remuser, cmd, fd2p, service, realm, #ifdef POSIX_SIGNALS sigprocmask(SIG_SETMASK, &oldmask, (sigset_t*)0); #else -#ifndef sgi sigsetmask(oldmask); -#endif #endif /* POSIX_SIGNALS */ *sock = s; if (tmpstr) krb5_xfree(tmpstr); @@ -426,9 +416,7 @@ kcmd(sock, ahost, rport, locuser, remuser, cmd, fd2p, service, realm, #ifdef POSIX_SIGNALS sigprocmask(SIG_SETMASK, &oldmask, (sigset_t*)0); #else -#ifndef sgi sigsetmask(oldmask); -#endif #endif /* POSIX_SIGNALS */ if (tmpstr) krb5_xfree(tmpstr); if (ret_cred)