X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-sprintf-posix.c;h=be35fe1a7408b4af6f097df08fb84f4d0e47f76a;hb=9cedf3e1ac7dbdddefb7e172156e9000de7d80c2;hp=58319b9612e7d84d6b0e9ebcfcc58441b4f03aa4;hpb=57fdfd3f8ec62b105c53bcdf6f127c35c7fe7391;p=gnulib.git diff --git a/tests/test-sprintf-posix.c b/tests/test-sprintf-posix.c index 58319b961..be35fe1a7 100644 --- a/tests/test-sprintf-posix.c +++ b/tests/test-sprintf-posix.c @@ -1,5 +1,5 @@ /* Test of POSIX compatible sprintf() function. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -22,7 +22,6 @@ #include #include -#include #include #include #include @@ -34,6 +33,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \