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