Finally!
After several eyeballing runs it became clear that reallioc got wrong
memory size specified.
no problems with glibc!
Patch included for fastjar 0.96 that makes the testcase works on m68k
and other platforms!
Cheers!
Xerxes
--- ../fastclean/fastjar-0.96/jartool.c 2008-08-14 17:33:06.000000000 +0200
+++ jartool.c 2008-09-16 16:40:52.000000000 +0200
@@ -1698,7 +1698,7 @@
/* Add 10 more spots to subdir_list */
if (subdir_list_index == subdir_list_size) {
subdir_list_size = subdir_list_size + 10;
- subdir_list = realloc(subdir_list, (subdir_list_size) *
sizeof(char));
+ subdir_list = realloc(subdir_list, (subdir_list_size) *
sizeof(char *));
if (subdir_list == NULL) {
fprintf(stderr, "error realloc-ing subdir_list_size\n");