--- 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;