Bug #1008 ยป vdrmanager_0.6_EINTR.diff
| select.cpp 2012-06-02 15:57:21.910618411 +0200 | ||
|---|---|---|
|
{
|
||
|
// poll for events
|
||
|
CreatePollfds();
|
||
|
int rc = poll(pollfds, clientsocketcount+1, -1);
|
||
|
int rc = 0;
|
||
|
while ((rc = poll( pollfds, clientsocketcount+1, -1 )) < 0)
|
||
|
{
|
||
|
if (errno != EINTR)
|
||
|
break;
|
||
|
}
|
||
|
if (rc < 0)
|
||
|
{
|
||
|
esyslog("ERROR (%s,%d): %s: %d %d %m", __FILE__, __LINE__, "poll", rc, errno);
|
||