It's fopen instead fopen64 that is used to open the file (and fprintf and fclose ...). And there is nothing in the Makefile that causes the compiler to use LFS as far as I understand it.
I've build a version of htdig with '-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'. I hope I can test it during the next days. If it works as expected it will take only a patch of the Makefile to solve this problem on linux systems.
Ok! It works for wordlist.work. My current run of htdig just reached 5.5 GB without crashing. I didn't use a bad words list to get a real big file as fast as possible. htdig hasn't finished yet and has touched about 180000 documents.
Whether the compiler flags work for the db code or not, I will see during the next hours.
Berthold
------------------------------------------------------- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 _______________________________________________ ht://Dig general mailing list: <[EMAIL PROTECTED]> ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html List information (subscribe/unsubscribe, etc.) https://lists.sourceforge.net/lists/listinfo/htdig-general

