Just committed patches from Mark Whitehouse with some additional changes. Please test. I have tested with Berkeley DB 1.85, 2.7.7, and 3.2.9. Hopefully other versions (eg. gdbm, ndbm) are not broken by these changes. Randy