AIX hang problem again (was Re: AIX and Privsep.)
Leigh Brown
leigh at solinno.co.uk
Sat Jul 6 00:09:25 EST 2002
Markus Friedl wrote:
> On Fri, Jul 05, 2002 at 02:12:06PM +0100, Leigh Brown wrote:
>> diff -ur openssh/channels.c openssh.local/channels.c
>> --- openssh/channels.c Thu Jul 4 19:11:10 2002
>> +++ openssh.local/channels.c Fri Jul 5 13:58:27 2002
[...]
>> #ifdef _AIX
>> /* XXX: Later AIX versions can't push as much data to tty */
>> - if (compat20 && c->isatty && dlen >= 8*1024)
>> + if (compat20 && isatty(c->wfd) && dlen > 8*1024) {
>
> do you really need to check isatty(c->wfd) ?
I have to be totally guided by you. The c->isatty did not work so
I replaced it with the closest match I could find. It would work
without that predicate...
Cheers,
Leigh.
More information about the openssh-unix-dev
mailing list