mirror of
https://github.com/gryf/gryf-overlay.git
synced 2026-01-06 05:44:15 +01:00
16 lines
377 B
Diff
16 lines
377 B
Diff
--- audio.c.old 2005-01-09 13:32:09.629042808 +0100
|
|
+++ audio.c 2005-01-09 13:32:59.646439008 +0100
|
|
@@ -86,8 +86,12 @@
|
|
timeout.tv_sec = 10;
|
|
timeout.tv_usec = 0;
|
|
|
|
+again:
|
|
sr = select(fd + 1, &rdfs, NULL, NULL, &timeout);
|
|
if (sr < 0) {
|
|
+ if(errno==EINTR) {
|
|
+ goto again;
|
|
+ }
|
|
g_message("wait_for_helper(): select failed: %s",
|
|
strerror(errno));
|
|
return -1;
|