attractivechaos / klib

A standalone and lightweight C library
http://attractivechaos.github.io/klib/
MIT License
4.18k stars 556 forks source link

fixed problem with kb_itr_get always returns iterator same as kb_itr_first #85

Open tsanyen opened 7 years ago

tsanyen commented 7 years ago

as kb_itr_get always returns an iterator from first;

till-s commented 4 years ago

Your proposed fix is incomplete. A correct solution is already in PR #73.

I created an issue (#141) for this bug with a test program that fails with this PR (but passes with PR73 provided that the kb_itr_get() is modified to use kb_itr_getp() which is introduced by PR#73)