projects
/
sudo
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e17f1e5
)
It looks like AIX doesn't need to push STREAMS modules for ptys.
author
Todd C. Miller
<Todd.Miller@courtesan.com>
Tue, 30 Mar 2010 16:06:27 +0000
(12:06 -0400)
committer
Todd C. Miller
<Todd.Miller@courtesan.com>
Tue, 30 Mar 2010 16:06:27 +0000
(12:06 -0400)
src/pty.c
patch
|
blob
|
history
diff --git
a/src/pty.c
b/src/pty.c
index 180b887abc6509fff76c9a89ddc6a0f5a628bfea..ce4f609e25a6855fdaff90111aff15a39125d1f2 100644
(file)
--- a/
src/pty.c
+++ b/
src/pty.c
@@
-131,7
+131,7
@@
get_pty(int *master, int *slave, char *name, size_t namesz, uid_t uid)
close(*master);
return(0);
}
-# if
def 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