From 7f4ddbcab8598e3d5e29c23ce883cdfa664408f1 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 18 Jul 2020 00:44:39 +0200 Subject: merge flags into enum for GNUNET_DISK_pipe() API, fixing #6188 --- src/util/os_priority.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/util/os_priority.c') diff --git a/src/util/os_priority.c b/src/util/os_priority.c index 2f86f792f..8d045c72b 100644 --- a/src/util/os_priority.c +++ b/src/util/os_priority.c @@ -376,7 +376,7 @@ start_process (enum GNUNET_OS_InheritStdioFlags std_inheritance, struct GNUNET_DISK_PipeHandle *childpipe; int dup_childpipe_read_fd = -1; - childpipe = GNUNET_DISK_pipe (GNUNET_NO, GNUNET_NO, GNUNET_YES, GNUNET_NO); + childpipe = GNUNET_DISK_pipe (GNUNET_DISK_PF_NONE); if (NULL == childpipe) return NULL; childpipe_read = @@ -1152,7 +1152,7 @@ GNUNET_OS_command_run (GNUNET_OS_LineProcessor proc, struct GNUNET_DISK_PipeHandle *opipe; va_list ap; - opipe = GNUNET_DISK_pipe (GNUNET_YES, GNUNET_YES, GNUNET_NO, GNUNET_YES); + opipe = GNUNET_DISK_pipe (GNUNET_DISK_PF_BLOCKING_RW); if (NULL == opipe) return NULL; va_start (ap, binary); -- cgit v1.2.3