Bug#560787: /usr/bin/luit: luit hangs after the client program exits
> > poll([{fd=0, events=POLLIN}, {fd=3, events=POLLIN}], 2, -1) = 1 ([{fd=3, revents=POLLHUP}])
The immediate cause is that luit is not checking for POLLHUP for the pty in
waitForInput. Instead it seems to be expecting a POLLIN with zero read.
No idea what's causing this in my system and not in yours. It is perfectly
reproducibly here.
--
Antti-Juhani Kaijanaho, Jyväskylä, Finland
http://antti-juhani.kaijanaho.fi/newblog/
http://www.flickr.com/photos/antti-juhani/
Reply to: