- (dtucker) [channels.c] isatty -> is_tty here too.

This commit is contained in:
Darren Tucker 2008-06-16 23:35:56 +10:00
parent ed3cdc0a7c
commit 1a48aecfbc
2 changed files with 3 additions and 2 deletions

View File

@ -4,6 +4,7 @@
[session.c channels.c]
Rename the isatty argument to is_tty so we don't shadow
isatty(3). ok markus@
- (dtucker) [channels.c] isatty -> is_tty here too.
20080615
- (dtucker) [configure.ac] Enable -fno-builtin-memset when using gcc.
@ -4406,4 +4407,4 @@
OpenServer 6 and add osr5bigcrypt support so when someone migrates
passwords between UnixWare and OpenServer they will still work. OK dtucker@
$Id: ChangeLog,v 1.5020 2008/06/16 13:29:18 dtucker Exp $
$Id: ChangeLog,v 1.5021 2008/06/16 13:35:56 dtucker Exp $

View File

@ -239,7 +239,7 @@ channel_register_fds(Channel *c, int rfd, int wfd, int efd,
if ((c->isatty = is_tty) != 0)
debug2("channel %d: rfd %d isatty", c->self, c->rfd);
c->wfd_isatty = isatty || isatty(c->wfd);
c->wfd_isatty = is_tty || isatty(c->wfd);
/* enable nonblocking mode */
if (nonblock) {