Branch: Tag:

2012-06-15

2012-06-15 18:20:27 by Arne Goedeke <el@laramies.com>

correct WALK_NONFREE_BLOCKS

106:   #define WALK_NONFREE_BLOCKS(DATA, BLOCK, FCOND, CODE...) do { \    struct block_allocator * a = &PIKE_CONCAT(DATA, _allocator); \    PAGE_LOOP(a, { \ -  uint32_t i, used = (p == a->alloc) ? a->blocks : p->used; \ -  for (i = 0; used && i < a->blocks; i++) { \ +  uint32_t i, used = (p == a->alloc) ? a->l.blocks : p->used; \ +  for (i = 0; used && i < a->l.blocks; i++) { \    BLOCK = ((struct DATA*)(p+1)) + i; \    if (FCOND) { \    do CODE while(0); \