about summary refs log tree commit diff stats
path: root/src/log.h
diff options
context:
space:
mode:
authorDmitry Podgorny <pasis.ua@gmail.com>2019-09-12 08:49:30 +0000
committerDmitry Podgorny <pasis.ua@gmail.com>2019-09-13 11:48:31 +0000
commit3ecb5424ae417ff3b2b6fa379e76b85b5f68e94b (patch)
tree5e4f0170c2db5e8787c44e2871d0928413eac269 /src/log.h
parent000650a9084487cfc818219e54f2a793a2ad0774 (diff)
downloadprofani-tty-3ecb5424ae417ff3b2b6fa379e76b85b5f68e94b.tar.gz
log: set nonblocking mode for stderr
Glib can print error messages to stderr and blocking write freezes
Profanity if the buffer is full. Move stderr to nonblocking mode
in hope that glib will skip printing on EWOULDBLOCK error. In this
case we lose some error messages, but Profanity continues working.
Diffstat (limited to 'src/log.h')
0 files changed, 0 insertions, 0 deletions