summaryrefslogtreecommitdiff
path: root/lib/tdb2/test
AgeCommit message (Collapse)AuthorFilesLines
2011-09-14tdb2: Fix to always use 64-bit offset definitionRusty Russell4-4/+4
We use off_t in the tdb2 interface (for tdb_attribute_flock); we need to make sure that all callers agree on the size. This also causes a problem in the tests: it's not enough to include config.h first, we need the _FILE_OFFSET_BITS define from private.h. Otherwise, we can disagree about the definitions of F_SETLK, F_SETLKW and off_t, causing strange problems. (Imported from CCAN commit baa17ee2d5e01a32030f19e566007417d72b4b6e) Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-06-20tdb2: add lib/tdb2 (from CCAN init-1161-g661d41f)Rusty Russell56-0/+5830
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>