[Mplayer-cvslog] CVS: main fifo.c,1.5,1.6

Ivan Kalvachev ivan at cacad.com
Wed Nov 3 17:25:17 CET 2004


On Wed,  3 Nov 2004 15:57:36 +0100 (CET)
syncmail at mplayerhq.hu (Ivan Kalvachev CVS) wrote:

> CVS change done by Ivan Kalvachev CVS
> 
> Update of /cvsroot/mplayer/main
> In directory mail:/var2/tmp/cvs-serv17900
> 
> Modified Files:
> 	fifo.c 
> Log Message:
> Fix stuck button mouse bug. Special thanks to Marius Gedminas for locating it.
> 
> 
> Index: fifo.c
> ===================================================================
> RCS file: /cvsroot/mplayer/main/fifo.c,v
> retrieving revision 1.5
> retrieving revision 1.6
> diff -u -r1.5 -r1.6
> --- fifo.c	20 Oct 2004 01:32:56 -0000	1.5
> +++ fifo.c	3 Nov 2004 14:57:33 -0000	1.6
> @@ -23,7 +23,7 @@
>             tv.tv_usec = 0;
>  
>             //retval = select(keyb_fifo_put+1, &rfds, NULL, NULL, &tv);
> -           if(select(keyb_fifo_put+1, NULL, &rfds, NULL, &tv)>0){
> +           if(select(keyb_fifo_put+1, NULL, &rfds, NULL, &tv)>=0){
>               write(keyb_fifo_put,&code,4);
>  //             printf("*** key event %d sent ***\n",code);
>             } else {
I was shown that this is buggy fix, so i revert it.




More information about the MPlayer-cvslog mailing list