From: Paul Park Date: Tue, 8 Aug 1995 22:00:43 +0000 (+0000) Subject: Use sigjmp_buf under POSIX_SETJMP X-Git-Tag: krb5-1.0-beta6~1364 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=40c083228c3be879599186fb89a53277a0efaf30;p=krb5.git Use sigjmp_buf under POSIX_SETJMP git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6462 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/kadmin/v5server/proto_serv.c b/src/kadmin/v5server/proto_serv.c index 0876dfe3c..fe906c4ff 100644 --- a/src/kadmin/v5server/proto_serv.c +++ b/src/kadmin/v5server/proto_serv.c @@ -52,7 +52,11 @@ extern char *programname; static int proto_proto_timeout = -1; static int proto_debug_level = 0; -static jmp_buf timeout_jmp; +#if POSIX_SETJMP +static sigjmp_buf timeout_jmp; +#else /* POSIX_SETJMP */ +static jmp_buf timeout_jmp; +#endif /* POSIX_SETJMP */ static krb5_sigtype proto_alarmclock(signo) diff --git a/src/kadmin/v5server/srv_main.c b/src/kadmin/v5server/srv_main.c index db705e91f..88e191235 100644 --- a/src/kadmin/v5server/srv_main.c +++ b/src/kadmin/v5server/srv_main.c @@ -64,7 +64,11 @@ static const char *key_msg = "key and database"; static const char *server_name_msg = "Kerberos V5 administrative server"; char *programname = (char *) NULL; -static jmp_buf terminal_jmp; +#if POSIX_SETJMP +static sigjmp_buf terminal_jmp; +#else /* POSIX_SETJMP */ +static jmp_buf terminal_jmp; +#endif /* POSIX_SETJMP */ static void usage(prog) diff --git a/src/kadmin/v5server/srv_net.c b/src/kadmin/v5server/srv_net.c index 7df544497..29c421a0a 100644 --- a/src/kadmin/v5server/srv_net.c +++ b/src/kadmin/v5server/srv_net.c @@ -109,7 +109,11 @@ static int net_slaves_active = 0; static int net_max_slaves = 0; static net_slave_info *net_slave_table = (net_slave_info *) NULL; -static jmp_buf shutdown_jmp; +#if POSIX_SETJMP +static sigjmp_buf shutdown_jmp; +#else /* POSIX_SETJMP */ +static jmp_buf shutdown_jmp; +#endif /* POSIX_SETJMP */ extern char *programname;