diff options
author | phintuka <phintuka> | 2008-01-09 20:40:17 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2008-01-09 20:40:17 +0000 |
commit | 778054467d79e53e97c771ccb2a96b1670df824d (patch) | |
tree | 1fd92e3d99aece240e52f9d7695d240eab176903 | |
parent | cf6d19973e912440b6b43b2856c3fcdeda2e06e9 (diff) | |
download | xineliboutput-778054467d79e53e97c771ccb2a96b1670df824d.tar.gz xineliboutput-778054467d79e53e97c771ccb2a96b1670df824d.tar.bz2 |
Don't terminate keyboard reading thread when poll is interrupted (EINTR)
-rw-r--r-- | xine_frontend_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xine_frontend_main.c b/xine_frontend_main.c index bc3c5b14..239d82b9 100644 --- a/xine_frontend_main.c +++ b/xine_frontend_main.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: xine_frontend_main.c,v 1.34 2008-01-03 20:06:27 phintuka Exp $ + * $Id: xine_frontend_main.c,v 1.35 2008-01-09 20:40:17 phintuka Exp $ * */ @@ -98,7 +98,7 @@ static int read_key(void) LOGERR("read_key: read(stdin) failed: no stdin"); return -2; - } else if(err < 0) { + } else if(err < 0 && errno != EINTR) { LOGERR("read_key: poll(stdin) failed"); return -2; } |