[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 06/09: test_upgrade: added missing fflush()
From: |
gnunet |
Subject: |
[libmicrohttpd] 06/09: test_upgrade: added missing fflush() |
Date: |
Sat, 15 Jan 2022 15:47:46 +0100 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit dab2e231513e8540980dbd1136871a69a41428c1
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Sat Jan 15 16:55:28 2022 +0300
test_upgrade: added missing fflush()
---
src/microhttpd/test_upgrade.c | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/src/microhttpd/test_upgrade.c b/src/microhttpd/test_upgrade.c
index 64b0fc49..17aeba63 100644
--- a/src/microhttpd/test_upgrade.c
+++ b/src/microhttpd/test_upgrade.c
@@ -1433,6 +1433,8 @@ main (int argc,
/* try external select */
res = test_upgrade (0,
0);
+ fflush (stderr);
+ fflush (stdout);
error_count += res;
if (res)
fprintf (stderr,
@@ -1444,6 +1446,8 @@ main (int argc,
/* Try external auto */
res = test_upgrade (MHD_USE_AUTO,
0);
+ fflush (stderr);
+ fflush (stdout);
error_count += res;
if (res)
fprintf (stderr,
@@ -1455,6 +1459,8 @@ main (int argc,
#ifdef EPOLL_SUPPORT
res = test_upgrade (MHD_USE_EPOLL,
0);
+ fflush (stderr);
+ fflush (stdout);
error_count += res;
if (res)
fprintf (stderr,
@@ -1468,6 +1474,8 @@ main (int argc,
res = test_upgrade (MHD_USE_INTERNAL_POLLING_THREAD
| MHD_USE_THREAD_PER_CONNECTION,
0);
+ fflush (stderr);
+ fflush (stdout);
error_count += res;
if (res)
fprintf (stderr,
@@ -1479,6 +1487,8 @@ main (int argc,
res = test_upgrade (MHD_USE_AUTO | MHD_USE_INTERNAL_POLLING_THREAD
| MHD_USE_THREAD_PER_CONNECTION,
0);
+ fflush (stderr);
+ fflush (stdout);
error_count += res;
if (res)
fprintf (stderr,
@@ -1490,6 +1500,8 @@ main (int argc,
res = test_upgrade (MHD_USE_INTERNAL_POLLING_THREAD
| MHD_USE_THREAD_PER_CONNECTION | MHD_USE_POLL,
0);
+ fflush (stderr);
+ fflush (stdout);
error_count += res;
if (res)
fprintf (stderr,
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [libmicrohttpd] branch master updated (376afc84 -> 0ea5d514), gnunet, 2022/01/15
- [libmicrohttpd] 02/09: test_upgrade: don't fail with particular sockets errors, gnunet, 2022/01/15
- [libmicrohttpd] 03/09: test_upgrade: fail if connection is closed when it shouldn't, gnunet, 2022/01/15
- [libmicrohttpd] 01/09: test_upgrade: replaced a few left abort() with meaningful descriptions, gnunet, 2022/01/15
- [libmicrohttpd] 05/09: test_upgrade: minor code refactoring, gnunet, 2022/01/15
- [libmicrohttpd] 09/09: test_upgrade{, _large}: used the same port for all checks., gnunet, 2022/01/15
- [libmicrohttpd] 06/09: test_upgrade: added missing fflush(),
gnunet <=
- [libmicrohttpd] 04/09: test_upgrade: use 'volatile' for variable with multithread access, gnunet, 2022/01/15
- [libmicrohttpd] 07/09: test_upgrade_large: applied fixes and improvements from test_upgrade, gnunet, 2022/01/15
- [libmicrohttpd] 08/09: test_upgrade{,_large}: simplified stdout,stderr flushing, gnunet, 2022/01/15