From: Geoffrey King Date: Sat, 11 Jul 1998 05:42:27 +0000 (+0000) Subject: Added a call to signal() in request_hup() so that the signal handler X-Git-Tag: krb5-1.1-beta1~664 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=69394cd9629fabf09aaeb99bf6d57ebba100b217;p=krb5.git Added a call to signal() in request_hup() so that the signal handler gets reset after each SIGHUP, since this does not happen automatically in System V's signal handling system. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10631 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/kdc/ChangeLog b/src/kdc/ChangeLog index 4e2264a51..1f6ebc26f 100644 --- a/src/kdc/ChangeLog +++ b/src/kdc/ChangeLog @@ -1,3 +1,11 @@ +Sat Jul 11 01:38:05 1998 Geoffrey King + + * main.c: Added a call to signal() in request_hup() + so that the signal handler gets reset after + each SIGHUP, since this does not happen + automatically in System V's signal handling + system. + Wed Jul 8 04:36:28 1998 Geoffrey King * extern.h: Added declaration for new variable diff --git a/src/kdc/main.c b/src/kdc/main.c index bf2f71243..a56681637 100644 --- a/src/kdc/main.c +++ b/src/kdc/main.c @@ -575,6 +575,10 @@ request_hup(signo) int signo; { signal_requests_hup = 1; +#ifndef POSIX_SIGNALS + signal(SIGHUP, request_hup); /* System V's signal() requires + resetting each time */ +#endif #ifdef POSIX_SIGTYPE return;