From 69394cd9629fabf09aaeb99bf6d57ebba100b217 Mon Sep 17 00:00:00 2001 From: Geoffrey King Date: Sat, 11 Jul 1998 05:42:27 +0000 Subject: [PATCH] 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 --- src/kdc/ChangeLog | 8 ++++++++ src/kdc/main.c | 4 ++++ 2 files changed, 12 insertions(+) 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; -- 2.26.2