From: leslie Date: Mon, 9 Jun 2008 09:00:36 +0000 (+0800) Subject: fix EINTR abort in DVB filter loop X-Git-Tag: 0.9.1~73 X-Git-Url: http://www.vanbest.org/gitweb/?a=commitdiff_plain;h=e20320855d7b6293821ac2fcf616e34ae2bf1776;p=sasc-ng.git fix EINTR abort in DVB filter loop --- diff --git a/filter.c b/filter.c index 9f92029..9d6bd0b 100644 --- a/filter.c +++ b/filter.c @@ -247,7 +247,7 @@ void cAction::Action(void) // now poll for data int r=poll(pfd,num,60); - if(r<0) { + if(r<0 && errno!=EINTR) { PRINTF(L_GEN_ERROR,"action %s poll: %s",id,strerror(errno)); break; }