PTY feature? or bug?

A.N.Kuznetsov (inr-linux-kernel@ms2.inr.ac.ru)
Mon, 22 Apr 1996 17:12:50 +0400 (MSD)


Hello!

I noticed that when someone tries to open a pty,
that has no master side, this task loops in running state.
Apparently, it is not correct.

Really, I suspect that nobody knows what should be done in
this situation. F.e. Solaris sleeps. (Taking into account
that Solaris<=2.3 utmp/utmpx is pretty broken, you will
have couple of dozens sleeping messaged/talkd etc. after
one day of work)

I'd just return EIO (or something a sort of it).

Alexey Kuznetsov.