Subject: Re: blocking tcsetattr in pppd 2.4.0
To: Brad du Plessis <netbsd-users@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: netbsd-users
Date: 06/01/2004 13:47:22
On Jun 1,  3:13pm, bradd@cat.co.za ("Brad du Plessis") wrote:
-- Subject: Re: blocking tcsetattr in pppd 2.4.0

| Setting the TCSAFLUSH flag to TCSANOW only means that the process locks up
| later when the tty descriptor is closed. The close() obviously does some
| data flushing that blocks forever if unsuccessful. Would the clearing of the
| DTR line earlier in the finish_tty() function in tty.c perhaps have any
| effect on this?


Have you tried calling tcflush(3) before all that happens?

christos