--- stardict-2.4.4/src/tools/dictd2dic.cpp 2003-11-07 12:02:25.000000000 +0300 +++ stardict-2.4.4.fix/src/tools/dictd2dic.cpp 2005-01-11 00:21:15.531001880 +0300 @@ -201,8 +201,9 @@ FILE *dicfile = fopen(dicfilename,"w"); glong tmpglong = 0; +#if 0 fwrite(&(tmpglong),sizeof(glong),1,idxfile); - +#endif glong wordcount = array->len; long offset_old; gchar *previous_word = ""; @@ -250,11 +251,11 @@ //g_print("size: %ld\n", thedatasize); fwrite(&(tmpglong),sizeof(glong),1,idxfile); } - +#if 0 fseek(idxfile,0,SEEK_SET); tmpglong = g_htonl(wordcount); fwrite(&(tmpglong),sizeof(glong),1,idxfile); - +#endif g_print("wordcount: %ld\n",wordcount); g_free(buffer);