Hi,

There's a bug in NSMutableArray removeObjectsFromIndices:numIndices

I believe this line:

while (i > 0 && sorted[i] > val)

should in fact be

while (i > 0 && sorted[i - 1] > val)

since sorted[i] will be unitialized the first iteration, and 
sorted[0] would otherwise never be looked at.

Thank you,
Kelvin Sherlock



_______________________________________________
Bug-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to