K 10 svn:author V 2 ed K 8 svn:date V 27 2012-10-03T13:51:03.439026Z K 7 svn:log V 300 Fix faulty error code handling in read(2) on TTYs. When performing a non-blocking read(2), on a TTY while no data is available, we should return EAGAIN. But if there's a modem disconnect, we should return 0. Right now we only return 0 when doing a blocking read, which is wrong. MFC after: 1 month END