From: Todd C. Miller Date: Fri, 3 Sep 2010 21:30:28 +0000 (-0400) Subject: It looks like AIX doesn't need to push STREAMS modules for ptys. X-Git-Tag: SUDO_1_7_5~178 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=39e508928c9860e584e5e97f9419357a95a8319e;p=sudo It looks like AIX doesn't need to push STREAMS modules for ptys. --HG-- branch : 1.7 --- diff --git a/get_pty.c b/get_pty.c index 236de6e6d..8ec1dbae2 100644 --- 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