From a90e74f1c8dddeddb75b6690824aec69d34db341 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Fri, 25 May 2001 21:40:08 +0000 Subject: [PATCH] * krlogind.c (protocol): Don't do TIOCPKT on systems with STREAMS ptys, even if there is a TIOCPKT, since it may result in hangs on some systems where BSD packet mode is (presumably) not implemented properly, such as AIX 4.3.3. Should get cleaned up at some later point to actually I_PUSH "pckt" or equivalent and do translation between STREAMS and BSD style packet mode. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13245 dc483132-0cff-0310-8789-dd5450dbe970 --- src/appl/bsd/ChangeLog | 9 +++++++++ src/appl/bsd/krlogind.c | 3 ++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/src/appl/bsd/ChangeLog b/src/appl/bsd/ChangeLog index fcd4bd462..b44534955 100644 --- a/src/appl/bsd/ChangeLog +++ b/src/appl/bsd/ChangeLog @@ -1,3 +1,12 @@ +2001-05-25 Tom Yu + + * krlogind.c (protocol): Don't do TIOCPKT on systems with STREAMS + ptys, even if there is a TIOCPKT, since it may result in hangs on + some systems where BSD packet mode is (presumably) not implemented + properly, such as AIX 4.3.3. Should get cleaned up at some later + point to actually I_PUSH "pckt" or equivalent and do translation + between STREAMS and BSD style packet mode. + 2001-05-10 Tom Yu * defines.h: Fix k4cmd prototype to match kcmd.c. diff --git a/src/appl/bsd/krlogind.c b/src/appl/bsd/krlogind.c index 3c3b29a35..5415cf8e0 100644 --- a/src/appl/bsd/krlogind.c +++ b/src/appl/bsd/krlogind.c @@ -987,7 +987,8 @@ void protocol(f, p) int on = 1; #endif -#if defined(TIOCPKT) && !defined(__svr4__) || defined(solaris20) +#if defined(TIOCPKT) && !(defined(__svr4__) || defined(HAVE_STREAMS)) \ + || defined(solaris20) /* if system has TIOCPKT, try to turn it on. Some drivers * may not support it. Save flag for later. */ -- 2.26.2