diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-07-17 22:35:36 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-07-17 22:35:36 +0200 |
commit | 28ab2c446fba4980a8295d59fdf203a028a35dd6 (patch) | |
tree | ebd266d1e280e353e8857a7e3e35bbf609c0a888 /src/testbed | |
parent | 931232d1141891232e46f5d6fd1432663e730e7a (diff) | |
download | gnunet-28ab2c446fba4980a8295d59fdf203a028a35dd6.tar.gz gnunet-28ab2c446fba4980a8295d59fdf203a028a35dd6.zip |
avoid boolean flag in GNUNET_OS_start_process() API (fixes #6188)
Diffstat (limited to 'src/testbed')
-rw-r--r-- | src/testbed/gnunet-helper-testbed.c | 9 | ||||
-rw-r--r-- | src/testbed/testbed_api_hosts.c | 3 |
2 files changed, 2 insertions, 10 deletions
diff --git a/src/testbed/gnunet-helper-testbed.c b/src/testbed/gnunet-helper-testbed.c index 24c212d6b..03be376fe 100644 --- a/src/testbed/gnunet-helper-testbed.c +++ b/src/testbed/gnunet-helper-testbed.c | |||
@@ -58,12 +58,6 @@ | |||
58 | 58 | ||
59 | 59 | ||
60 | /** | 60 | /** |
61 | * We need pipe control only on WINDOWS | ||
62 | */ | ||
63 | #define PIPE_CONTROL GNUNET_NO | ||
64 | |||
65 | |||
66 | /** | ||
67 | * Context for a single write on a chunk of memory | 61 | * Context for a single write on a chunk of memory |
68 | */ | 62 | */ |
69 | struct WriteContext | 63 | struct WriteContext |
@@ -435,8 +429,7 @@ tokenizer_cb (void *cls, const struct GNUNET_MessageHeader *message) | |||
435 | see putenv(): becomes part of envrionment! */ | 429 | see putenv(): becomes part of envrionment! */ |
436 | evstr = NULL; | 430 | evstr = NULL; |
437 | } | 431 | } |
438 | testbed = GNUNET_OS_start_process (PIPE_CONTROL, | 432 | testbed = GNUNET_OS_start_process (GNUNET_OS_INHERIT_STD_ERR /*verbose? */, |
439 | GNUNET_OS_INHERIT_STD_ERR /*verbose? */, | ||
440 | NULL, | 433 | NULL, |
441 | NULL, | 434 | NULL, |
442 | NULL, | 435 | NULL, |
diff --git a/src/testbed/testbed_api_hosts.c b/src/testbed/testbed_api_hosts.c index f7352250d..152762280 100644 --- a/src/testbed/testbed_api_hosts.c +++ b/src/testbed/testbed_api_hosts.c | |||
@@ -1384,8 +1384,7 @@ GNUNET_TESTBED_is_host_habitable ( | |||
1384 | join_argv ((const char **) rsh_args, (const char **) rsh_suffix_args); | 1384 | join_argv ((const char **) rsh_args, (const char **) rsh_suffix_args); |
1385 | free_argv (rsh_suffix_args); | 1385 | free_argv (rsh_suffix_args); |
1386 | free_argv (rsh_args); | 1386 | free_argv (rsh_args); |
1387 | h->auxp = GNUNET_OS_start_process_vap (GNUNET_NO, | 1387 | h->auxp = GNUNET_OS_start_process_vap (GNUNET_OS_INHERIT_STD_ERR, |
1388 | GNUNET_OS_INHERIT_STD_ERR, | ||
1389 | NULL, | 1388 | NULL, |
1390 | NULL, | 1389 | NULL, |
1391 | NULL, | 1390 | NULL, |