diff options
author | Geoffrey King <gjking@mit.edu> | 1998-07-11 05:42:27 +0000 |
---|---|---|
committer | Geoffrey King <gjking@mit.edu> | 1998-07-11 05:42:27 +0000 |
commit | 69394cd9629fabf09aaeb99bf6d57ebba100b217 (patch) | |
tree | 2286df89f5ad205b209c171178212401a0476423 /src/kdc | |
parent | 1fdbd190d078b255f260c97649dca7c1d3475529 (diff) | |
download | krb5-69394cd9629fabf09aaeb99bf6d57ebba100b217.tar.gz krb5-69394cd9629fabf09aaeb99bf6d57ebba100b217.tar.xz krb5-69394cd9629fabf09aaeb99bf6d57ebba100b217.zip |
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
Diffstat (limited to 'src/kdc')
-rw-r--r-- | src/kdc/ChangeLog | 8 | ||||
-rw-r--r-- | src/kdc/main.c | 4 |
2 files changed, 12 insertions, 0 deletions
diff --git a/src/kdc/ChangeLog b/src/kdc/ChangeLog index 4e2264a51d..1f6ebc26f4 100644 --- a/src/kdc/ChangeLog +++ b/src/kdc/ChangeLog @@ -1,3 +1,11 @@ +Sat Jul 11 01:38:05 1998 Geoffrey King <gjking@mit.edu> + + * 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 <gjking@mit.edu> * extern.h: Added declaration for new variable diff --git a/src/kdc/main.c b/src/kdc/main.c index bf2f712438..a56681637b 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; |