From 6b0069b8207702565a70534351b065272427902c Mon Sep 17 00:00:00 2001 From: Brian Barrett Date: Sat, 11 Mar 2006 17:56:30 +0000 Subject: [PATCH] * We don't need the ttcompat module loaded into the stream on Solaris, and it was causing problems (indeed, we don't have it in LAM and it hasn't caused problems in the last many many years). Standard I/O forwarding now works properly on Solaris in both 32 and 64 bit builds * Add NEWS item about standard I/O on platforms without openpty() This commit was SVN r9255. --- NEWS | 3 +++ opal/util/opal_pty.c | 16 ---------------- 2 files changed, 3 insertions(+), 16 deletions(-) diff --git a/NEWS b/NEWS index 743f55d84c..6292b72259 100644 --- a/NEWS +++ b/NEWS @@ -35,6 +35,9 @@ version 1.0. 1.0.2 ----- +- Enable pty support for standard I/O forwarding on platforms that + have ptys but do not have openpty(). Thanks to Pierre Valiron for + bringing this to our attention. - Disable inline assembly for PGI compilers to avoid compiler errors. Thanks to Troy Telford for bringing this to our attention. - Added MPI_UNSIGNED_CHAR and MPI_SIGNED_CHAR to the allowed reduction diff --git a/opal/util/opal_pty.c b/opal/util/opal_pty.c index 15c73c5d8a..6e4a5faf09 100644 --- a/opal/util/opal_pty.c +++ b/opal/util/opal_pty.c @@ -230,22 +230,6 @@ static int ptys_open(int fdm, char *pts_name) close(fds); return -7; } - if (ioctl(fds, I_PUSH, "ttcompat") < 0) { - close(fdm); - close(fds); - return -8; - } - - if (ioctl(fdm, I_PUSH, "pckt") < 0) { - close(fdm); - close(fds); - return -8; - } - if (ioctl(fdm, I_SRDOPT, RMSGN | RPROTDAT) < 0) { - close(fdm); - close(fds); - return -8; - } return fds; #else