diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | channels.c | 2 |
2 files changed, 3 insertions, 2 deletions
@@ -4,6 +4,7 @@ | |||
4 | [session.c channels.c] | 4 | [session.c channels.c] |
5 | Rename the isatty argument to is_tty so we don't shadow | 5 | Rename the isatty argument to is_tty so we don't shadow |
6 | isatty(3). ok markus@ | 6 | isatty(3). ok markus@ |
7 | - (dtucker) [channels.c] isatty -> is_tty here too. | ||
7 | 8 | ||
8 | 20080615 | 9 | 20080615 |
9 | - (dtucker) [configure.ac] Enable -fno-builtin-memset when using gcc. | 10 | - (dtucker) [configure.ac] Enable -fno-builtin-memset when using gcc. |
@@ -4406,4 +4407,4 @@ | |||
4406 | OpenServer 6 and add osr5bigcrypt support so when someone migrates | 4407 | OpenServer 6 and add osr5bigcrypt support so when someone migrates |
4407 | passwords between UnixWare and OpenServer they will still work. OK dtucker@ | 4408 | passwords between UnixWare and OpenServer they will still work. OK dtucker@ |
4408 | 4409 | ||
4409 | $Id: ChangeLog,v 1.5020 2008/06/16 13:29:18 dtucker Exp $ | 4410 | $Id: ChangeLog,v 1.5021 2008/06/16 13:35:56 dtucker Exp $ |
diff --git a/channels.c b/channels.c index 64c1ce76d..7f0aaadf6 100644 --- a/channels.c +++ b/channels.c | |||
@@ -239,7 +239,7 @@ channel_register_fds(Channel *c, int rfd, int wfd, int efd, | |||
239 | 239 | ||
240 | if ((c->isatty = is_tty) != 0) | 240 | if ((c->isatty = is_tty) != 0) |
241 | debug2("channel %d: rfd %d isatty", c->self, c->rfd); | 241 | debug2("channel %d: rfd %d isatty", c->self, c->rfd); |
242 | c->wfd_isatty = isatty || isatty(c->wfd); | 242 | c->wfd_isatty = is_tty || isatty(c->wfd); |
243 | 243 | ||
244 | /* enable nonblocking mode */ | 244 | /* enable nonblocking mode */ |
245 | if (nonblock) { | 245 | if (nonblock) { |