I'm starting to test my GNUstep application with NSDebug.m module and I detected bug,
when application has more than 128 mallocation of object.
In GSDebugAllocationAdd(Class c) function, the growing of the_table' was invalid. I
correct this problem and send diff output.
I also add some log messages.
46,47d45
< #define TABLE_GROW_SIZE 128
<
101,102d98
<
< NSLog (@"Debbuging system activated: %s", active ? "YES" : "NO");
133c129
< int more = table_size + TABLE_GROW_SIZE;
---
> int more = table_size + 128;
136d131
< table_size += TABLE_GROW_SIZE;
263,265c258
< sprintf(&buf[pos], "%3d(%+d)\t\t%s\n",
< the_table[i].count, val,
< the_table[i].class->name);
---
> sprintf(&buf[pos], "%d\t%s\n", val, the_table[i].class->name);
Jan Trembulak.