* key.c (is_idle): Correct maximal file descriptor and return
value.
Этот коммит содержится в:
родитель
b25dd0a948
Коммит
781dae3544
@ -1,3 +1,8 @@
|
|||||||
|
2003-01-27 Arpi <arpi@mplayerhq.hu>
|
||||||
|
|
||||||
|
* key.c (is_idle): Correct maximal file descriptor and return
|
||||||
|
value.
|
||||||
|
|
||||||
2003-01-27 Andrew V. Samoilov <sav@bcs.zp.ua>
|
2003-01-27 Andrew V. Samoilov <sav@bcs.zp.ua>
|
||||||
|
|
||||||
* util.h (app_text): Remove declaration - it became static.
|
* util.h (app_text): Remove declaration - it became static.
|
||||||
|
@ -1026,8 +1026,7 @@ is_idle (void)
|
|||||||
#endif
|
#endif
|
||||||
timeout.tv_sec = 0;
|
timeout.tv_sec = 0;
|
||||||
timeout.tv_usec = 0;
|
timeout.tv_usec = 0;
|
||||||
select (maxfdp, &select_set, 0, 0, &timeout);
|
return (select (maxfdp + 1, &select_set, 0, 0, &timeout) <= 0);
|
||||||
return !FD_ISSET (0, &select_set);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Загрузка…
Ссылка в новой задаче
Block a user