21 Apr
2008
21 Apr
'08
9:52 a.m.
On Mon, Apr 21, 2008 at 11:23 AM, Sebastian Nowicki <sebnow@gmail.com> wrote:
It makes sense now. I didn't realise that it was a circular list (might be worth mentioning).
Ah right, I should have just said that. Maybe I didn't because I wasn't sure if it's really a typical circular list. It's a double linked list, which is circular when going backward with ->prev pointer, but not when going forward with ->next pointer. Because for walking through a list, we always do something like : for(i = dblist; i; i = i->next) { ... }