1
0
mirror of https://github.com/gryf/gryf-overlay.git synced 2026-01-06 13:54:23 +01:00
Files
gryf-overlay/media-plugins/xmms-arts/files/xmms-arts-0.7.1-eintr.patch
2010-02-09 21:25:29 +01:00

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;