]> code.delx.au - gnu-emacs/commit
Avoid read error messages from 'inotify'
authorRobert Pluim <rpluim@gmail.com>
Sat, 5 Sep 2015 08:37:29 +0000 (11:37 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 5 Sep 2015 08:37:29 +0000 (11:37 +0300)
commitac9da241986b747c1122ad5d097db42795eb9737
tree2a2b20cf999edbcfdeab5c5049daadd2be49d57b
parentec14f087535282c188861815ac806024274185d5
Avoid read error messages from 'inotify'

* src/process.c (wait_reading_process_output): Add a
'tls_available' set and manipulate it instead of 'Available' when
checking TLS inputs.  Assign the value to 'Available' only if we
find any TLS data waiting to be read.  This avoids error messages
from 'inotify' that tries to read data it shouldn't.  (Bug#21337)
src/process.c