lkml.org 
[lkml]   [1996]   [Apr]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectPTY feature? or bug?
Date
From
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.


\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.936 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site