I think I've just fixed Debian bug #166396. The +ut option was
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sun, 11 May 2003 12:28:53 +0000 (12:28 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sun, 11 May 2003 12:28:53 +0000 (12:28 +0000)
commit58dcb876268d7df73384b5b257ae3bcda416cdfa
tree7f803b68152125c21001175e4e408f668cbd5e40
parent599ede468a30006896db7a380d079a122bf6b4a1
I think I've just fixed Debian bug #166396. The +ut option was
causing pty_utmp_helper_pipe to be closed, but its fd was kept
around even when stale, and closed again when the main child process
terminated - by which time the fd number had been reused for a
rather more vital fd, which GTK didn't appreciate having closed
under its feet. Hence, spin on POLLNVAL. Should now be sorted.

git-svn-id: svn://svn.tartarus.org/sgt/putty@3185 cda61777-01e9-0310-a592-d414129be87e
unix/pty.c