aboutsummaryrefslogtreecommitdiff
path: root/src/statistics
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-07-17 22:35:36 +0200
committerChristian Grothoff <christian@grothoff.org>2020-07-17 22:35:36 +0200
commit28ab2c446fba4980a8295d59fdf203a028a35dd6 (patch)
treeebd266d1e280e353e8857a7e3e35bbf609c0a888 /src/statistics
parent931232d1141891232e46f5d6fd1432663e730e7a (diff)
downloadgnunet-28ab2c446fba4980a8295d59fdf203a028a35dd6.tar.gz
gnunet-28ab2c446fba4980a8295d59fdf203a028a35dd6.zip
avoid boolean flag in GNUNET_OS_start_process() API (fixes #6188)
Diffstat (limited to 'src/statistics')
-rw-r--r--src/statistics/test_statistics_api.c8
-rw-r--r--src/statistics/test_statistics_api_loop.c3
-rw-r--r--src/statistics/test_statistics_api_watch.c3
-rw-r--r--src/statistics/test_statistics_api_watch_zero_value.c3
4 files changed, 10 insertions, 7 deletions
diff --git a/src/statistics/test_statistics_api.c b/src/statistics/test_statistics_api.c
index fcdeccad6..c9e568870 100644
--- a/src/statistics/test_statistics_api.c
+++ b/src/statistics/test_statistics_api.c
@@ -197,8 +197,8 @@ main (int argc, char *argv_ign[])
197 NULL); 197 NULL);
198 binary = GNUNET_OS_get_libexec_binary_path ("gnunet-service-statistics"); 198 binary = GNUNET_OS_get_libexec_binary_path ("gnunet-service-statistics");
199 proc = 199 proc =
200 GNUNET_OS_start_process (GNUNET_YES, 200 GNUNET_OS_start_process (GNUNET_OS_INHERIT_STD_OUT_AND_ERR
201 GNUNET_OS_INHERIT_STD_OUT_AND_ERR, 201 | GNUNET_OS_USE_PIPE_CONTROL,
202 NULL, NULL, NULL, 202 NULL, NULL, NULL,
203 binary, 203 binary,
204 "gnunet-service-statistics", 204 "gnunet-service-statistics",
@@ -225,8 +225,8 @@ main (int argc, char *argv_ign[])
225 ok = 1; 225 ok = 1;
226 /* restart to check persistence! */ 226 /* restart to check persistence! */
227 proc = 227 proc =
228 GNUNET_OS_start_process (GNUNET_YES, 228 GNUNET_OS_start_process (GNUNET_OS_INHERIT_STD_OUT_AND_ERR
229 GNUNET_OS_INHERIT_STD_OUT_AND_ERR, 229 | GNUNET_OS_USE_PIPE_CONTROL,
230 NULL, NULL, NULL, 230 NULL, NULL, NULL,
231 binary, 231 binary,
232 "gnunet-service-statistics", 232 "gnunet-service-statistics",
diff --git a/src/statistics/test_statistics_api_loop.c b/src/statistics/test_statistics_api_loop.c
index 50507bdc4..ad273287d 100644
--- a/src/statistics/test_statistics_api_loop.c
+++ b/src/statistics/test_statistics_api_loop.c
@@ -98,7 +98,8 @@ main (int argc, char *argv_ign[])
98 98
99 binary = GNUNET_OS_get_libexec_binary_path ("gnunet-service-statistics"); 99 binary = GNUNET_OS_get_libexec_binary_path ("gnunet-service-statistics");
100 proc = 100 proc =
101 GNUNET_OS_start_process (GNUNET_YES, GNUNET_OS_INHERIT_STD_OUT_AND_ERR, 101 GNUNET_OS_start_process (GNUNET_OS_INHERIT_STD_OUT_AND_ERR
102 | GNUNET_OS_USE_PIPE_CONTROL,
102 NULL, NULL, NULL, 103 NULL, NULL, NULL,
103 binary, 104 binary,
104 "gnunet-service-statistics", 105 "gnunet-service-statistics",
diff --git a/src/statistics/test_statistics_api_watch.c b/src/statistics/test_statistics_api_watch.c
index 06e639599..2d9d08305 100644
--- a/src/statistics/test_statistics_api_watch.c
+++ b/src/statistics/test_statistics_api_watch.c
@@ -130,7 +130,8 @@ main (int argc, char *argv_ign[])
130 130
131 binary = GNUNET_OS_get_libexec_binary_path ("gnunet-service-statistics"); 131 binary = GNUNET_OS_get_libexec_binary_path ("gnunet-service-statistics");
132 proc = 132 proc =
133 GNUNET_OS_start_process (GNUNET_YES, GNUNET_OS_INHERIT_STD_OUT_AND_ERR, 133 GNUNET_OS_start_process (GNUNET_OS_INHERIT_STD_OUT_AND_ERR
134 | GNUNET_OS_USE_PIPE_CONTROL,
134 NULL, NULL, NULL, 135 NULL, NULL, NULL,
135 binary, 136 binary,
136 "gnunet-service-statistics", 137 "gnunet-service-statistics",
diff --git a/src/statistics/test_statistics_api_watch_zero_value.c b/src/statistics/test_statistics_api_watch_zero_value.c
index 80ca57c18..cb2694f8f 100644
--- a/src/statistics/test_statistics_api_watch_zero_value.c
+++ b/src/statistics/test_statistics_api_watch_zero_value.c
@@ -168,7 +168,8 @@ main (int argc, char *argv_ign[])
168 168
169 binary = GNUNET_OS_get_libexec_binary_path ("gnunet-service-statistics"); 169 binary = GNUNET_OS_get_libexec_binary_path ("gnunet-service-statistics");
170 proc = 170 proc =
171 GNUNET_OS_start_process (GNUNET_YES, GNUNET_OS_INHERIT_STD_OUT_AND_ERR, 171 GNUNET_OS_start_process (GNUNET_OS_INHERIT_STD_OUT_AND_ERR
172 | GNUNET_OS_USE_PIPE_CONTROL,
172 NULL, NULL, NULL, 173 NULL, NULL, NULL,
173 binary, 174 binary,
174 "gnunet-service-statistics", 175 "gnunet-service-statistics",