Ed Schouten <ed@fxq.nl> writes:
> This is a known issue IIRC. See line 245 of tty_pts.c 1.16. Can be
> easily reproduced by killing the sshd while apps are still running in
> the shell.
It's not that simple. The question is why t_refcnt > 1 when there are
no processes left attached to the tty.
I managed to reproduce this as follows:
$ script -q 1 script -q 2 script -q 3 script -q 4 tty
if nothing else is going on at the same time, you should always see the
same output, but instead you see a steadily increasing pts number.
DES
--=20
Dag-Erling Sm=C3=B8rgrav - des@des.no
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"