From b7a6591c6e497564bb40341f2f8e652f9e82a8d2 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Sun, 25 Feb 1996 02:35:35 +0000 Subject: [PATCH] Don't do call vhangup() if system doesn't have it git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7537 dc483132-0cff-0310-8789-dd5450dbe970 --- src/util/pty/ChangeLog | 4 ++++ src/util/pty/vhangup.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/src/util/pty/ChangeLog b/src/util/pty/ChangeLog index 6a9f4e6f5..f35c9a130 100644 --- a/src/util/pty/ChangeLog +++ b/src/util/pty/ChangeLog @@ -1,3 +1,7 @@ +Sat Feb 24 21:34:58 1996 Theodore Y. Ts'o + + * vhangup.c (ptyint_vhangup): Don't do call vhangup() if system + doesn't have it. Sat Jan 27 01:13:34 1996 Mark Eichin diff --git a/src/util/pty/vhangup.c b/src/util/pty/vhangup.c index 25dd9cc23..09d83c7be 100644 --- a/src/util/pty/vhangup.c +++ b/src/util/pty/vhangup.c @@ -23,6 +23,7 @@ void ptyint_vhangup() { +#ifdef HAVE_VHANGUP #ifdef POSIX_SIGNALS struct sigaction sa; /* Initialize "sa" structure. */ @@ -42,4 +43,5 @@ void ptyint_vhangup() vhangup(); signal(SIGHUP, SIG_DFL); #endif +#endif } -- 2.26.2