os: FatalError if -displayfd writes fail
authorKeith Packard <keithp@keithp.com>
Fri, 18 Apr 2014 22:00:30 +0000 (15:00 -0700)
committerKeith Packard <keithp@keithp.com>
Fri, 18 Apr 2014 23:30:17 +0000 (16:30 -0700)
commitd72f691c0c9cace857975a6608a4cb431c8b6846
tree10565127b4883d4e1f26b9bc9a961da535c5c496
parent4957e986841225e9984daca76f1a0ee08df125bb
os: FatalError if -displayfd writes fail

When the server is started with the -displayfd option, check to make
sure that the writes succeed and give up running if they don't.

Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Jamey Sharp <jamey@minilop.net>
os/connection.c