From: Chris Hanson Date: Tue, 23 Nov 1993 03:30:24 +0000 (+0000) Subject: Conditionalize use of TIOCSCTTY to OSF/1 specifically -- HP-UX has X-Git-Tag: 20090517-FFI~7434 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=981e6ac165a596c197b5ada2c22d3641b3c7841a;p=mit-scheme.git Conditionalize use of TIOCSCTTY to OSF/1 specifically -- HP-UX has this but calling it causes trouble. --- diff --git a/v7/src/microcode/uxproc.c b/v7/src/microcode/uxproc.c index 6714af788..cc12a1fab 100644 --- a/v7/src/microcode/uxproc.c +++ b/v7/src/microcode/uxproc.c @@ -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. */