diff -c -r1.1 tty.c *** /tmp/,RCSt1005870 Thu Jul 17 19:49:16 1997 --- tty.c Thu Jul 17 19:17:05 1997 *************** *** 1377,1383 **** if (!ISSET(tp->t_state, TS_ZOMBIE)) SET(tp->t_state, TS_CONNECTED); wakeup(TSA_CARR_ON(tp)); ! ttwakeup(tp); ttwwakeup(tp); } return (1); --- 1377,1392 ---- if (!ISSET(tp->t_state, TS_ZOMBIE)) SET(tp->t_state, TS_CONNECTED); wakeup(TSA_CARR_ON(tp)); ! /* Don't generate SIGIO's for DCD if CLOCAL */ ! if (ISSET(tp->t_cflag, CLOCAL)) { ! register int t_state; ! ! t_state = tp->t_state; ! CLR(tp->t_state, TS_ASYNC); ! ttwakeup(tp); ! tp->t_state = t_state; ! } else ! ttwakeup(tp); ttwwakeup(tp); } return (1);