summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-04-07 18:17:32 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-04-07 18:17:32 -0700
commitc374939e9e2cf36fcb6aa1984a472d73b05a821d (patch)
treea8bec7f93f11bd1217878ed675c81dcda4184af2
parenta223524f5f4b62cf8bd85bd7467314629de93a9a (diff)
unifdef sgi
SGI Irix end of support life was in 2013 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--xconsole.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/xconsole.c b/xconsole.c
index f7edac9..031e228 100644
--- a/xconsole.c
+++ b/xconsole.c
@@ -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 */
/*