read_write_all: use calloc instead of huge stack var in tests.
authorRusty Russell <rusty@rustcorp.com.au>
Sun, 26 Sep 2010 07:34:03 +0000 (17:04 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Sun, 26 Sep 2010 07:34:03 +0000 (17:04 +0930)
commit8201ff8eec2f44e9612fea3ec280c8bd10b7300c
tree0ca16818c70564de6aa9dfafdcd528f0fbdaa0ef
parentf50f3986562a42be8e278005d1c289d084babc26
read_write_all: use calloc instead of huge stack var in tests.

Valgrind was giving a spurious error.
ccan/read_write_all/test/run-read_all.c
ccan/read_write_all/test/run-write_all.c