summaryrefslogtreecommitdiff
path: root/src/timers.h
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-09-21 21:44:46 +0200
committerDaniel Friesel <derf@finalrewind.org>2021-09-25 09:20:54 +0200
commit4c16228c70a077510628319a0466c4902b34a834 (patch)
tree7e3e43ad2d3a2308e974b56b25251b358d8f458b /src/timers.h
parent020a496aaf5d78fa2876fe409046fb4753fbfbd6 (diff)
Fix crash when X11 is connected via FD 0.
If stdin is not connected, the X11 connection may use FD 0, which is traditionally used for STDIN. Do not attempt reads from fd 0 unless it _really_ is connected to a terminal on stdin. Reported by https://github.com/pvanstam, thanks a lot! Closes #631 Closes #632
Diffstat (limited to 'src/timers.h')
0 files changed, 0 insertions, 0 deletions