diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/util/pty/ChangeLog | 4 | ||||
| -rw-r--r-- | src/util/pty/vhangup.c | 2 |
2 files changed, 6 insertions, 0 deletions
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 <tytso@dcl> + + * vhangup.c (ptyint_vhangup): Don't do call vhangup() if system + doesn't have it. Sat Jan 27 01:13:34 1996 Mark Eichin <eichin@cygnus.com> 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 } |
