failtest: use a linked list for history, not an array.
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 29 Nov 2011 22:34:11 +0000 (09:04 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 29 Nov 2011 22:34:11 +0000 (09:04 +1030)
commit9571a41e8494f3135557e3ec50c2de856392173e
tree5a1178aea666a2bfa87c07ae995939193753fc61
parent6a906358d922800c7358c5c46c34bf4a5e6863ad
failtest: use a linked list for history, not an array.

This avoids a silly realloc, but more importantly it gets us closer to
being runtime extensible, as each history element can be a different
size.
ccan/failtest/_info
ccan/failtest/failtest.c
ccan/failtest/failtest.h
ccan/failtest/test/run-history.c
ccan/failtest/test/run-locking.c
ccan/tdb2/test/failtest_helper.c
ccan/tdb2/test/failtest_helper.h