merge flags into enum for GNUNET_DISK_pipe() API, fixing #6188

This commit is contained in:
Christian Grothoff 2020-07-18 00:44:59 +02:00
parent 3f9c464697
commit 80ba1c6ebe
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC
2 changed files with 2 additions and 5 deletions

View File

@ -705,9 +705,7 @@ parallel_benchmark (TALER_TESTING_Main main_cb,
remote_cmd); remote_cmd);
GNUNET_assert (NULL != (exchange_slave_pipe = GNUNET_assert (NULL != (exchange_slave_pipe =
GNUNET_DISK_pipe (GNUNET_YES, GNUNET_DISK_pipe (GNUNET_DISK_PF_BLOCKING_RW)));
GNUNET_YES,
0, 0)));
exchange_slave = GNUNET_OS_start_process (GNUNET_OS_INHERIT_STD_OUT_AND_ERR, exchange_slave = GNUNET_OS_start_process (GNUNET_OS_INHERIT_STD_OUT_AND_ERR,
exchange_slave_pipe, NULL, NULL, exchange_slave_pipe, NULL, NULL,

View File

@ -790,8 +790,7 @@ TALER_TESTING_setup (TALER_TESTING_Main main_cb,
sizeof (is)); sizeof (is));
is.exchanged = exchanged; is.exchanged = exchanged;
is.cfg = cfg; is.cfg = cfg;
sigpipe = GNUNET_DISK_pipe (GNUNET_NO, GNUNET_NO, sigpipe = GNUNET_DISK_pipe (GNUNET_DISK_PF_NONE);
GNUNET_NO, GNUNET_NO);
GNUNET_assert (NULL != sigpipe); GNUNET_assert (NULL != sigpipe);
shc_chld = GNUNET_SIGNAL_handler_install shc_chld = GNUNET_SIGNAL_handler_install
(GNUNET_SIGCHLD, (GNUNET_SIGCHLD,