Imre Deak 63746417e2 testdisplay: fix restoring termio at exit
At normal exit in test_all_modes we don't restore the original termio,
since g_io_channel_shutdown() closes the stdin fd and so the following
tcsetattr on stdin will fail. We also don't restore the termio at signal
exit. Fix both cases by installing an exit hanlder with a dup'ed stdin fd.

Signed-off-by: Imre Deak <imre.deak@intel.com>
2014-05-12 13:36:40 +03:00
..
2012-04-10 16:23:18 +02:00
2013-07-21 22:04:20 -07:00
2013-11-04 19:49:10 +01:00
2013-11-04 19:49:10 +01:00
2014-03-23 13:47:09 +01:00
2014-03-23 13:47:09 +01:00
2014-03-23 13:47:09 +01:00
2014-03-23 13:47:09 +01:00
2014-03-23 13:47:09 +01:00
2014-03-23 13:47:09 +01:00
2014-03-23 13:47:09 +01:00
2014-03-23 13:47:09 +01:00
2014-03-23 13:47:09 +01:00
2014-03-23 13:47:09 +01:00
2014-03-23 13:47:09 +01:00
2014-03-23 13:47:09 +01:00
2014-03-23 13:47:09 +01:00
2014-03-23 13:47:09 +01:00
2014-03-23 13:47:09 +01:00
2014-03-23 13:47:09 +01:00
2013-11-01 22:18:20 +01:00
2014-04-14 09:37:53 +02:00
2013-11-01 21:10:59 +01:00
2013-07-21 22:04:20 -07:00
2012-01-15 16:05:43 +01:00