summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_malloc.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1999-01-10 01:26:30 +0000
committerbrian <brian@FreeBSD.org>1999-01-10 01:26:30 +0000
commit541b200a907df9730d6c52f272bc2eb5385c41fe (patch)
tree05376906d358406080e4668bf48135700a58b1e8 /sys/kern/kern_malloc.c
parent3905f929a7f97b0ef4744b343438c8aa71eadaf2 (diff)
downloadFreeBSD-src-541b200a907df9730d6c52f272bc2eb5385c41fe.zip
FreeBSD-src-541b200a907df9730d6c52f272bc2eb5385c41fe.tar.gz
Only call isatty() when we open our descriptor, and remember
the answer. If we later get a descriptor exception from select(), we know that it's a tty (isatty() returns 0 after the exception on a tty) and remember to call modem_LogicalClose(). The upshot of it all is that descriptor exceptions dont leave the tty locked any more.
Diffstat (limited to 'sys/kern/kern_malloc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud