Thanks Grubba for making Bz2 work. I fixed the testsuite too now.
I have another problem, I want Pike to be able to use long long ints in the svalues. It shouldn't be much work to get it to work. But here's where I'm stuck now:
| void debug_push_int_type(INT_TYPE min, INT_TYPE max) | { | *(++Pike_compiler->type_stackp) = mk_type(T_INT, | (void *)(ptrdiff_t)min, | (void *)(ptrdiff_t)max, 0); | | TYPE_STACK_DEBUG("push_int_type"); | }
The Pike int type can't contain ints that take more space then a pointer: (void*).
Suggestions? I'm thinking of moving the car and cdr value type to be a union of some sort rather then these, imh, rather ugly and limited casts.
Grubba?
/ Mirar
Previous text:
2003-01-25 13:50: Subject: Bz2
I noticed that we now have a Bz2 packer in the Pike tree. (Good job Andreas!)
I did some work to get it to compile with my libbz2, and now it compiles and links fine.
However, it segfaults on my machine and on some machines in xenofarm it gives funny errors in the testsuite (hence all the new yellow dots). I'm out of debugging tokens for today, so I don't mind at all if someone else makes it work... :)
/ Mirar