diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-02-17 13:11:48 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-02-17 13:11:48 -0800 |
commit | ba41ed406510d2c88ba6bc97be16dc24c9621426 (patch) | |
tree | aeed50a77ed153cc5d8d274ae998e11904ece447 | |
parent | ba6892385cc20505bd20e807d37597e699571948 (diff) |
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | xconsole.c | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -157,10 +157,6 @@ static XrmOptionDescRec options[] = { # endif #endif -#if defined(_AIX) -# define USE_PTS -#endif - #if !defined (USE_FILE) || defined (linux) # include <sys/ioctl.h> # if defined (SVR4) || defined (USE_PTS) @@ -784,11 +780,7 @@ get_pty(int *pty, int *tty) static char ttydev[64], ptydev[64]; #if defined (SVR4) || defined (USE_PTS) -#if defined (_AIX) - if ((*pty = open ("/dev/ptc", O_RDWR)) < 0) -#else if ((*pty = open ("/dev/ptmx", O_RDWR)) < 0) -#endif return 1; grantpt(*pty); unlockpt(*pty); |