summaryrefslogtreecommitdiff
path: root/channels.c
diff options
context:
space:
mode:
Diffstat (limited to 'channels.c')
-rw-r--r--channels.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/channels.c b/channels.c
index 9e87bfb9e..281df3802 100644
--- a/channels.c
+++ b/channels.c
@@ -248,7 +248,10 @@ channel_register_fds(Channel *c, int rfd, int wfd, int efd,
248 248
249 if ((c->isatty = is_tty) != 0) 249 if ((c->isatty = is_tty) != 0)
250 debug2("channel %d: rfd %d isatty", c->self, c->rfd); 250 debug2("channel %d: rfd %d isatty", c->self, c->rfd);
251#ifdef _AIX
252 /* XXX: Later AIX versions can't push as much data to tty */
251 c->wfd_isatty = is_tty || isatty(c->wfd); 253 c->wfd_isatty = is_tty || isatty(c->wfd);
254#endif
252 255
253 /* enable nonblocking mode */ 256 /* enable nonblocking mode */
254 if (nonblock) { 257 if (nonblock) {