diff options
Diffstat (limited to 'languages/ruby/debugger/stty.cpp')
| -rw-r--r-- | languages/ruby/debugger/stty.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/languages/ruby/debugger/stty.cpp b/languages/ruby/debugger/stty.cpp index f2650666..7d4521d7 100644 --- a/languages/ruby/debugger/stty.cpp +++ b/languages/ruby/debugger/stty.cpp @@ -154,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"); |
