On 24 Jul 2005 Martin Cap <macap20001@xxxxxxxxxxxxx> 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 so I'll come back to the details later (rather busy lately). The code actually is: do { r=read(fd,buffer+fill,MP3FILE_BUFSIZE-fill); } while(r==-1 && errno==EINTR); The return code for a unsatisfied read request in non-blocking mode is EAGAIN. But normaly the plugin uses mmap() to read the file (if you haven't disabled this by intent), so that the code part you mentioned isn't used at all. Regards. -- Stefan Huelswitt s.huelswitt@xxxxxx | http://www.muempf.de/