K 10 svn:author V 3 mbr K 8 svn:date V 27 2006-09-23T14:44:14.000000Z K 7 svn:log V 482 If /dev/tty gets opened after your controlling terminal has been revoked you can't call tty_clone afterwords. OpenBSD and NetBSD both fail the open call in that case, so we should do so as well. This can be done in ctty_clone by returning with *dev==NULL. Admittedly this causes open to return ENOENT, instead of ENXIO as on the other BSDs, but this way requires the least touching of code. Submitted by: Nate Eldredge PR: 83375 MFC: 1 week END