diff options
Diffstat (limited to 'languages/ruby/debugger/stty.cpp')
| -rw-r--r-- | languages/ruby/debugger/stty.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/languages/ruby/debugger/stty.cpp b/languages/ruby/debugger/stty.cpp index 2e52096d..7d4521d7 100644 --- a/languages/ruby/debugger/stty.cpp +++ b/languages/ruby/debugger/stty.cpp @@ -48,11 +48,6 @@ #include <time.h> #include <unistd.h> -#if defined (_HPUX_SOURCE) -#define _TERMIOS_INCLUDED -#include <bsdtty.h> -#endif - #include <tqintdict.h> #include <tqsocketnotifier.h> #include <tqstring.h> @@ -159,18 +154,6 @@ int STTY::findTTY() // Find a master pty that we can open //////////////////////////////// -#ifdef __sgi__ - ptyfd = open("/dev/ptmx",O_RDWR); - if (ptyfd < 0) { - perror("Can't open a pseudo teletype"); - return(-1); - } - strncpy(tty_slave, ptsname(ptyfd), 50); - grantpt(ptyfd); - unlockpt(ptyfd); - needGrantPty = false; -#endif - // first we try UNIX PTY's #ifdef TIOCGPTN strcpy(pty_master,"/dev/ptmx"); |
