TIOCNOTTY (HP/UX 9 for example) don't try to use it.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7405
dc483132-0cff-0310-8789-
dd5450dbe970
+Sat Jan 27 01:13:34 1996 Mark Eichin <eichin@cygnus.com>
+
+ * void_assoc.c (ptyint_void_association): if we don't have
+ TIOCNOTTY (HP/UX 9 for example) don't try to use it.
+
Tue Jan 16 13:52:22 1996 Sam Hartman <hartmans@tertius.mit.edu>
* void_assoc.c (ptyint_void_association): Move setsid call from open_ctty to void_association.
#endif
/* Void tty association first */
+#ifdef TIOCNOTTY
if ((con_fd = open("/dev/tty", O_RDWR)) >= 0) {
ioctl(con_fd, TIOCNOTTY, 0);
close(con_fd);
}
+#endif
return 0;
}