chiark / gitweb /
core: monitor the inotify file descriptor not the console one in acquire_terminal()
authorFranck Bui <fbui@suse.com>
Wed, 2 Nov 2016 15:24:57 +0000 (16:24 +0100)
committerSven Eden <yamakuzure@gmx.net>
Mon, 17 Jul 2017 15:58:34 +0000 (17:58 +0200)
When waiting for the terminal to be release in acquire_terminal(), we
were monitoring the terminal fd instead of the inotify descriptor.

Therefore any write accesses would wake up the waiting process instead
of being wake up when the tty is closed only.


No differences found