]> git.ozlabs.org Git - ccan/commit
foreach: fix overzealous test.
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 7 Feb 2013 00:25:01 +0000 (10:55 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 7 Feb 2013 00:25:01 +0000 (10:55 +1030)
commit42b45378bfcc8db48e8811a114201c7a41c21420
treebf8b957739edcce18b2919a33a0ffa8ac1ceae1f
parentdfe310e715cd4c33ada106007d8ae1242d9c7e94
foreach: fix overzealous test.

Andreas Schlick reported a failure on 64-bit systems; we should simply
test that the number of iterators does not grow on second iteration,
rather than assuming an explicit limit as compilers may vary.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ccan/foreach/test/run-nested.c