summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-07-18 00:44:59 +0200
committerChristian Grothoff <christian@grothoff.org>2020-07-18 00:44:59 +0200
commit80ba1c6ebe03021dc464d4c3273607d1fa990de5 (patch)
tree7c2c4586d3bb8532705daafb2b23c73fc1e7384d
parent3f9c4646974b9d5c6e8f863219afe95c982eded6 (diff)
downloadexchange-80ba1c6ebe03021dc464d4c3273607d1fa990de5.tar.gz
exchange-80ba1c6ebe03021dc464d4c3273607d1fa990de5.tar.bz2
exchange-80ba1c6ebe03021dc464d4c3273607d1fa990de5.zip
merge flags into enum for GNUNET_DISK_pipe() API, fixing #6188
-rw-r--r--src/benchmark/taler-exchange-benchmark.c4
-rw-r--r--src/testing/testing_api_loop.c3
2 files changed, 2 insertions, 5 deletions
diff --git a/src/benchmark/taler-exchange-benchmark.c b/src/benchmark/taler-exchange-benchmark.c
index 76ab1d56..537399ae 100644
--- 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
index fceff423..aedb33fc 100644
--- 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,