diff options
Diffstat (limited to 'src/utils')
| -rw-r--r-- | src/utils/squish-pty.c | 10 | ||||
| -rw-r--r-- | src/utils/squish-unix.c | 1 |
2 files changed, 0 insertions, 11 deletions
diff --git a/src/utils/squish-pty.c b/src/utils/squish-pty.c index c8375a5..ea060c7 100644 --- a/src/utils/squish-pty.c +++ b/src/utils/squish-pty.c @@ -7,7 +7,6 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> -#include <stropts.h> #include <sys/ioctl.h> #include <sys/stat.h> #include <sys/time.h> @@ -287,15 +286,6 @@ main (int argc __attribute__ ((unused)), char *argv[]) if (slave < 0) fail_io ("open \"%s\"", name); - /* System V implementations need STREAMS configuration for the - slave. */ - if (isastream (slave)) - { - if (ioctl (slave, I_PUSH, "ptem") < 0 - || ioctl (slave, I_PUSH, "ldterm") < 0) - fail_io ("ioctl"); - } - /* Arrange to get notified when a child dies, by writing a byte to a pipe fd. We really want to use pselect() and sigprocmask(), but Solaris 2.7 doesn't have it. */ diff --git a/src/utils/squish-unix.c b/src/utils/squish-unix.c index 9d9aa42..c594fde 100644 --- a/src/utils/squish-unix.c +++ b/src/utils/squish-unix.c @@ -8,7 +8,6 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> -#include <stropts.h> #include <sys/ioctl.h> #include <sys/stat.h> #include <sys/time.h> |
