- (bal) Limit data to TTY for AIX only (Newer versions can't handle the
faster data rate) Bug #124
This commit is contained in:
parent
51b2488aad
commit
92ea0eadbe
|
@ -1,3 +1,7 @@
|
||||||
|
20020704
|
||||||
|
- (bal) Limit data to TTY for AIX only (Newer versions can't handle the
|
||||||
|
faster data rate) Bug #124
|
||||||
|
|
||||||
20020703
|
20020703
|
||||||
- (bal) Updated contrib/cygwin/ patch by vinschen@redhat.com
|
- (bal) Updated contrib/cygwin/ patch by vinschen@redhat.com
|
||||||
- (bal) minor correction to utimes() replacement. Patch by
|
- (bal) minor correction to utimes() replacement. Patch by
|
||||||
|
@ -1267,4 +1271,4 @@
|
||||||
- (stevesk) entropy.c: typo in debug message
|
- (stevesk) entropy.c: typo in debug message
|
||||||
- (djm) ssh-keygen -i needs seeded RNG; report from markus@
|
- (djm) ssh-keygen -i needs seeded RNG; report from markus@
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.2332 2002/07/04 03:08:40 mouring Exp $
|
$Id: ChangeLog,v 1.2333 2002/07/04 18:11:09 mouring Exp $
|
||||||
|
|
|
@ -1279,6 +1279,11 @@ channel_handle_wfd(Channel *c, fd_set * readset, fd_set * writeset)
|
||||||
data = buffer_ptr(&c->output);
|
data = buffer_ptr(&c->output);
|
||||||
dlen = buffer_len(&c->output);
|
dlen = buffer_len(&c->output);
|
||||||
len = write(c->wfd, data, dlen);
|
len = write(c->wfd, data, dlen);
|
||||||
|
#ifdef _AIX
|
||||||
|
/* XXX: Later AIX versions can't push as much data to tty */
|
||||||
|
if (compat20 && c->isatty && dlen >= 8*1024)
|
||||||
|
dlen = 8*1024;
|
||||||
|
#endif
|
||||||
if (len < 0 && (errno == EINTR || errno == EAGAIN))
|
if (len < 0 && (errno == EINTR || errno == EAGAIN))
|
||||||
return 1;
|
return 1;
|
||||||
if (len <= 0) {
|
if (len <= 0) {
|
||||||
|
|
Loading…
Reference in New Issue