diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-04-07 18:17:32 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-04-07 18:17:32 -0700 |
commit | c374939e9e2cf36fcb6aa1984a472d73b05a821d (patch) | |
tree | a8bec7f93f11bd1217878ed675c81dcda4184af2 /xconsole.c | |
parent | a223524f5f4b62cf8bd85bd7467314629de93a9a (diff) |
unifdef sgi
SGI Irix end of support life was in 2013
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'xconsole.c')
-rw-r--r-- | xconsole.c | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -823,14 +823,6 @@ get_pty(int *pty, int *tty, char *ttydev, char *ptydev) #else static int devindex, letter = 0; -#ifdef sgi - { - char *slave; - slave = _getpty (pty, O_RDWR, 0622, 0); - if ((*tty = open (slave, O_RDWR)) != -1) - return 0; - } -#else strcpy (ttydev, "/dev/ttyxx"); strcpy (ptydev, "/dev/ptyxx"); while (PTYCHAR1[letter]) { @@ -857,7 +849,6 @@ get_pty(int *pty, int *tty, char *ttydev, char *ptydev) devindex = 0; (void) letter++; } -#endif /* sgi else not sgi */ #endif /* USE_GET_PSEUDOTTY */ #endif /* SVR4 */ /* |