+Tue Aug 16 18:04:58 1994 Mark Eichin (eichin@tweedledumber.cygnus.com)
+
+ * configure.in: check for vhangup.
+ sys_term.c (cleanup): check for HAVE_VHANGUP.
+ (cleanopen): ditto.
+
Mon Aug 8 01:15:27 1994 Mark Eichin (eichin@cygnus.com)
* utility.c (putf): don't misdeclare index/rindex, strings.h
[cc_t foo;],,AC_DEFINE(NO_CC_T))
fi
fi
+AC_HAVE_FUNCS(vhangup)
AC_FUNC_CHECK(grantpt,AC_DEFINE(STREAMSPTY))
AC_FUNC_CHECK(gettosbyname,AC_DEFINE(HAS_GETTOS))
AC_HEADER_CHECK(sys/filio.h,AC_DEFINE(FILIO_H))
*/
# if !(defined(CRAY) || defined(__hpux)) && (BSD <= 43) && !defined(STREAMSPTY)
(void) signal(SIGHUP, SIG_IGN);
+#ifdef HAVE_VHANGUP
vhangup();
+#endif
(void) signal(SIGHUP, SIG_DFL);
t = open(line, O_RDWR|O_NOCTTY);
if (t < 0)
void rmut();
rmut();
+#ifdef HAVE_VHANGUP
vhangup(); /* XXX */
+#endif
(void) shutdown(net, 2);
exit(1);
# endif