From 8e29b83161e3942e766dc450fb3e3d9929a50b67 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Wed, 31 Mar 1999 05:07:20 +0000 Subject: [PATCH] * sys_term.c (getptyslave): Under AIX, ignore I_PUSH pckt failure. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11329 dc483132-0cff-0310-8789-dd5450dbe970 --- src/appl/telnet/telnetd/ChangeLog | 5 +++++ src/appl/telnet/telnetd/sys_term.c | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/appl/telnet/telnetd/ChangeLog b/src/appl/telnet/telnetd/ChangeLog index 4f567072d..f6534995a 100644 --- a/src/appl/telnet/telnetd/ChangeLog +++ b/src/appl/telnet/telnetd/ChangeLog @@ -1,3 +1,8 @@ +Wed Mar 31 00:05:58 1999 Tom Yu + + * sys_term.c (getptyslave): Under AIX, ignore I_PUSH pckt + failure. + Tue Mar 30 23:59:15 1999 Tom Yu * termios-tn.c: Include termio.h under AIX due to brokenness. diff --git a/src/appl/telnet/telnetd/sys_term.c b/src/appl/telnet/telnetd/sys_term.c index d989f6fff..ee8d53d46 100644 --- a/src/appl/telnet/telnetd/sys_term.c +++ b/src/appl/telnet/telnetd/sys_term.c @@ -940,9 +940,12 @@ getptyslave() #ifdef USE_TERMIO ttyfd = t; #endif - if (ioctl(pty, I_PUSH, "pckt") < 0) + if (ioctl(pty, I_PUSH, "pckt") < 0) { +#ifndef _AIX fatal(net, "I_PUSH pckt"); #endif + } +#endif /* * set up the tty modes as we like them to be. -- 2.26.2