Skip to content
Unverified Commit cd0e7155 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 9fb7c1bb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment