diff options
author | Bruno Haible <bruno@clisp.org> | 2008-04-11 16:31:39 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2008-04-11 16:31:39 +0200 |
commit | e220635fc952c63b533873f2af39ec76aed4b4e3 (patch) | |
tree | e6b27452dddd7785c23e7361bcac20ddf6650e14 /tests/test-rbtreehash_list.c | |
parent | cda636671de46bd0c60641ac60d6399662d7af2c (diff) | |
download | gnulib-e220635fc952c63b533873f2af39ec76aed4b4e3.tar.gz |
Flush the standard error stream before aborting.
Diffstat (limited to 'tests/test-rbtreehash_list.c')
-rw-r--r-- | tests/test-rbtreehash_list.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test-rbtreehash_list.c b/tests/test-rbtreehash_list.c index 19b20631b4..a238f29147 100644 --- a/tests/test-rbtreehash_list.c +++ b/tests/test-rbtreehash_list.c @@ -1,5 +1,5 @@ /* Test of sequential list data type implementation. - Copyright (C) 2006-2007 Free Software Foundation, Inc. + Copyright (C) 2006-2008 Free Software Foundation, Inc. Written by Bruno Haible <bruno@clisp.org>, 2006. This program is free software: you can redistribute it and/or modify @@ -66,6 +66,7 @@ string_hash (const void *x) if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ |