]> granicus.if.org Git - sudo/commitdiff
It looks like AIX doesn't need to push STREAMS modules for ptys.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 3 Sep 2010 21:30:28 +0000 (17:30 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 3 Sep 2010 21:30:28 +0000 (17:30 -0400)
--HG--
branch : 1.7

get_pty.c

index 236de6e6d05fbd359161ca3ee7f29deb4c1aa76d..8ec1dbae27e18815c006ccbaaceeb0e6441be0df 100644 (file)
--- a/get_pty.c
+++ b/get_pty.c
@@ -149,7 +149,7 @@ get_pty(master, slave, name, namesz, ttyuid)
        close(*master);
        return(0);
     }
-# ifdef I_PUSH
+# if defined(I_PUSH) && !defined(_AIX)
     ioctl(*slave, I_PUSH, "ptem");     /* pseudo tty emulation module */
     ioctl(*slave, I_PUSH, "ldterm");   /* line discipline module */
 # endif