[vdr] MP3-plugin problems with slow cpu

Darren Salt linux at youmustbejoking.demon.co.uk
Mon Jul 25 18:51:11 CEST 2005


I demand that Clemens Kirchgatterer may or may not have written...

> Martin Cap <macap20001 at compuserve.de> wrote:
>> Today I tried to set O_NONBLOCK to the open()-calls (the code does a "do{
>> r = read(...); }while(r!=-1 && r != EINTR);" at stream.c:271

> shouldn't it be: while(r!=-1 && errno != EINTR); ?

That looks wrong too.

  while (r != -1 || errno == EINTR);

-- 
| Darren Salt | d youmustbejoking,demon,co,uk | nr. Ashington,
| Debian,     | s zap,tartarus,org            | Northumberland
| RISC OS     | @                             | Toon Army
|   <URL:http://www.youmustbejoking.demon.co.uk/> (PGP 2.6, GPG keys)

Will had a fortune the other day, but he forgot it.



More information about the vdr mailing list