Added a call to signal() in request_hup() so that the signal handler
authorGeoffrey King <gjking@mit.edu>
Sat, 11 Jul 1998 05:42:27 +0000 (05:42 +0000)
committerGeoffrey King <gjking@mit.edu>
Sat, 11 Jul 1998 05:42:27 +0000 (05:42 +0000)
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
src/kdc/main.c

index 4e2264a51d11e6fdf7733ac23721b2c3214aaa45..1f6ebc26f440847defe1a5d9edc23d89617ebed8 100644 (file)
@@ -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
index bf2f71243866e38bc9848ca5cfd8ca812fc46af8..a56681637b6fdd11b8f69cbd79c8570e76528d54 100644 (file)
@@ -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;