diff options
author | Lloyd Hilaiel <lloyd@hilaiel.com> | 2009-04-01 18:22:55 +0300 |
---|---|---|
committer | Lloyd Hilaiel <lloyd@hilaiel.com> | 2009-04-01 18:22:55 +0300 |
commit | 735ac9f42168c1ec7492358a5b1debcd8cb05525 (patch) | |
tree | b820f91445c33d4480226e6d3e16ea94bc2598c3 | |
parent | b78dd790825e3347422ef8ac56d2ad557a473e8f (diff) | |
download | yajl-735ac9f42168c1ec7492358a5b1debcd8cb05525.tar.gz |
fflush output in yajl_test to attempt to get deterministic output ordering across systems (msys+win32 being the problem child)1.0.0
-rw-r--r-- | test/yajl_test.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/yajl_test.c b/test/yajl_test.c index 77281a5..3554f1b 100644 --- a/test/yajl_test.c +++ b/test/yajl_test.c @@ -283,6 +283,8 @@ main(int argc, char ** argv) * printf("allocations:\t%u\n", memCtx.numMallocs); * printf("frees:\t\t%u\n", memCtx.numFrees); */ + fflush(stderr); + fflush(stdout); printf("memory leaks:\t%u\n", memCtx.numMallocs - memCtx.numFrees); return 0; |