tdb2: use 64 bit file offsets on 32 bit systems if available.
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 19 Apr 2011 07:24:41 +0000 (16:54 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 19 Apr 2011 07:24:41 +0000 (16:54 +0930)
commit0f95489bd34ab05869e0bfaabf45149b3b161f28
treecadc016a6a637d94b06bc972bcadb496003fe809
parent15cb319b3e5d07b70fb2fef7188c11c90d015de4
tdb2: use 64 bit file offsets on 32 bit systems if available.

And testing reveals a latent bug on 32 bit systems.
ccan/tdb2/io.c
ccan/tdb2/private.h
ccan/tdb2/test/run-64-bit-tdb.c [new file with mode: 0644]