--- /CVS/mplayer/main/input/lirc.c 2002-10-24 02:23:12 +0400 +++ /MPlayer-0.90pre9/input/lirc.c 2002-10-28 22:47:39 +0300 @@ -72,6 +72,7 @@ mp_msg(MSGT_INPUT,MSGL_ERR,"Select error : %s\n",strerror(errno)); return MP_INPUT_ERROR; } else + errno=EAGAIN; return MP_INPUT_NOTHING; } @@ -102,6 +103,7 @@ else if(cmd_buf) // return the first command in the buffer return mp_input_lirc_read(fd,dest,s); else + errno=EAGAIN; return MP_INPUT_NOTHING; }