Skip to content
Commit 4c16228c authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

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
parent 020a496a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment