From: Tom Yu Date: Wed, 31 Mar 1999 05:07:20 +0000 (+0000) Subject: * sys_term.c (getptyslave): Under AIX, ignore I_PUSH pckt X-Git-Tag: krb5-1.1-beta1~252 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8e29b83161e3942e766dc450fb3e3d9929a50b67;p=krb5.git * 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 --- 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.