commit 80ba1c6ebe03021dc464d4c3273607d1fa990de5
parent 3f9c4646974b9d5c6e8f863219afe95c982eded6
Author: Christian Grothoff <christian@grothoff.org>
Date: Sat, 18 Jul 2020 00:44:59 +0200
merge flags into enum for GNUNET_DISK_pipe() API, fixing #6188
Diffstat:
2 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/src/benchmark/taler-exchange-benchmark.c b/src/benchmark/taler-exchange-benchmark.c
@@ -705,9 +705,7 @@ parallel_benchmark (TALER_TESTING_Main main_cb,
remote_cmd);
GNUNET_assert (NULL != (exchange_slave_pipe =
- GNUNET_DISK_pipe (GNUNET_YES,
- GNUNET_YES,
- 0, 0)));
+ GNUNET_DISK_pipe (GNUNET_DISK_PF_BLOCKING_RW)));
exchange_slave = GNUNET_OS_start_process (GNUNET_OS_INHERIT_STD_OUT_AND_ERR,
exchange_slave_pipe, NULL, NULL,
diff --git a/src/testing/testing_api_loop.c b/src/testing/testing_api_loop.c
@@ -790,8 +790,7 @@ TALER_TESTING_setup (TALER_TESTING_Main main_cb,
sizeof (is));
is.exchanged = exchanged;
is.cfg = cfg;
- sigpipe = GNUNET_DISK_pipe (GNUNET_NO, GNUNET_NO,
- GNUNET_NO, GNUNET_NO);
+ sigpipe = GNUNET_DISK_pipe (GNUNET_DISK_PF_NONE);
GNUNET_assert (NULL != sigpipe);
shc_chld = GNUNET_SIGNAL_handler_install
(GNUNET_SIGCHLD,