K 10 svn:author V 3 ian K 8 svn:date V 27 2017-01-12T21:18:43.792223Z K 7 svn:log V 274 Restructure the tty_drain loop so that device-busy is checked one more time after tty_timedwait() returns an error only if the error is EWOULDBLOCK; other errors cause an immediate return. This fixes the case of the tty disappearing while in tty_drain(). Reported by: pho END