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

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Charles Manning
Date:  
To: Jacob Dall, yaffs
Subject: [Yaffs-archive] Re: Typo in yaffs_guts.c ??
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 with the text "unsubscribe"
(without the quotes) as the subject.