[mythtv] [PATCH] : small cleanup

Kenneth Aafløy ke-aa at frisurf.no
Mon Nov 10 15:38:17 EST 2003


On Mon, 2003-11-10 at 13:27, manu wrote:
> Le 10.11.2003 08:19:42, Kenneth Aafløy a écrit :
> > This will cause some writes to go undetected. Are you experiencing
> > problems without this patch? Try putting in a perror call within the
> > if clause to see the real error instead.
> 
> Hmm, the idea here is just that this test is never true because the  
> while clause has already a test with lw>0.

Blush!

But it's not done correctly, because the while loop may execute multiple
writes.

Kenneth



More information about the mythtv-dev mailing list