[Yaffs] [Yaffs-archive] Re: Typo in yaffs_guts.c ??

Charles Manning manningc2@actrix.gen.nz
Tue, 8 Jun 2004 20:47:21 +1200


On Saturday 05 June 2004 06:36, Jacob Dall wrote:
> In yaffs_DeleteWorker:
>
> 1087: *limit = *limit-1;
> 1088: if(limit <= 0)
>
> Shouldn't line 1088 be: if(*limit <= 0)
>

Jacob

Yes you are correct. Fixed now in CVS.

Luckily code will never trigger.  The only time this will be a problem is 
when limit is not NULL. This only happens in code that never gets called that 
way(at present anyway).



Thanx

-- Charles

---------------------------------------------------------------------------------------
This mailing list is hosted by Toby Churchill open software (www.toby-churchill.org).
If mailing list membership is no longer wanted you can remove yourself from the list by 
sending an email to yaffs-request@toby-churchill.org with the text "unsubscribe" 
(without the quotes) as the subject.