>htdig version (or the one I have doesn't have htPack) so I can't be
>sure, but sizeof(struct WordRecord) is 16 bytes for 4 ints ==> the u4 in
>the htPack sheme, but sizeof(class WordRecord) is 20 ('this' pointer
>added). Anyway it doesn't look like a good idea to save the 'this'
>pointer . What is better?
>- use a structure for data in WordRecord and use it to save and restore
>record.
Bingo! That was it--I switched it back to a struct and it works perfectly.
I don't remember any compelling reason to have this be a class, so
I'll commit the changes shortly. I can't imagine it's a good thing to
be storing the pointer!
-Geoff
------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
[EMAIL PROTECTED] containing the single word "unsubscribe" in
the SUBJECT of the message.