Conditionalize use of TIOCSCTTY to OSF/1 specifically -- HP-UX has
authorChris Hanson <org/chris-hanson/cph>
Tue, 23 Nov 1993 03:30:24 +0000 (03:30 +0000)
committerChris Hanson <org/chris-hanson/cph>
Tue, 23 Nov 1993 03:30:24 +0000 (03:30 +0000)
this but calling it causes trouble.

v7/src/microcode/uxproc.c

index 6714af7883943a77b10a89d182942bfb9aee6db7..cc12a1fab8578f917e461e42572000430a7f21b9 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-C-*-
 
-$Id: uxproc.c,v 1.17 1993/11/23 02:33:10 cph Exp $
+$Id: uxproc.c,v 1.18 1993/11/23 03:30:24 cph Exp $
 
 Copyright (c) 1990-93 Massachusetts Institute of Technology
 
@@ -354,7 +354,7 @@ DEFUN (OS_make_subprocess,
                || ((SLAVE_PTY_P (ctty_name)) && (! (SETUP_SLAVE_PTY (fd))))
 #endif
                || (! (isatty (fd)))
-#ifdef TIOCSCTTY
+#ifdef __osf__
                || ((UX_ioctl (fd, TIOCSCTTY, 0)) < 0)
 #endif
                /* Tell the controlling terminal its process group. */