* sys_term.c (getptyslave): Under AIX, ignore I_PUSH pckt
authorTom Yu <tlyu@mit.edu>
Wed, 31 Mar 1999 05:07:20 +0000 (05:07 +0000)
committerTom Yu <tlyu@mit.edu>
Wed, 31 Mar 1999 05:07:20 +0000 (05:07 +0000)
failure.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11329 dc483132-0cff-0310-8789-dd5450dbe970

src/appl/telnet/telnetd/ChangeLog
src/appl/telnet/telnetd/sys_term.c

index 4f567072dc0879aff69bd0d114ffb1bfb868c632..f6534995ab458aa3cb5df428fe1e3481ac467c2a 100644 (file)
@@ -1,3 +1,8 @@
+Wed Mar 31 00:05:58 1999  Tom Yu  <tlyu@mit.edu>
+
+       * sys_term.c (getptyslave): Under AIX, ignore I_PUSH pckt
+       failure.
+
 Tue Mar 30 23:59:15 1999  Tom Yu  <tlyu@mit.edu>
 
        * termios-tn.c: Include termio.h under AIX due to brokenness.
index d989f6fff631eb65b2066dfbd26092e1c86c3d8f..ee8d53d4695d1a6a98f92fab716f8750dd5e838f 100644 (file)
@@ -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.