diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-01-14 23:18:06 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-01-14 23:18:06 +0000 |
commit | 91ab799c42b2496e65afd0c866811999d88119ed (patch) | |
tree | 2c31aa87ead94723c1d959a691b11811fc4589f8 /src/util/test_os_start_process.c | |
parent | a72a1c6fc09216c5be7f5ee697ff55cf66907c80 (diff) | |
download | gnunet-91ab799c42b2496e65afd0c866811999d88119ed.tar.gz gnunet-91ab799c42b2496e65afd0c866811999d88119ed.zip |
LRN: enable more fine-grained control over blocking/non-blocking pipe operation
Diffstat (limited to 'src/util/test_os_start_process.c')
-rw-r--r-- | src/util/test_os_start_process.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/test_os_start_process.c b/src/util/test_os_start_process.c index 78538404a..f66e741d9 100644 --- a/src/util/test_os_start_process.c +++ b/src/util/test_os_start_process.c | |||
@@ -114,8 +114,8 @@ task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
114 | 114 | ||
115 | GNUNET_asprintf (&fn, "cat"); | 115 | GNUNET_asprintf (&fn, "cat"); |
116 | 116 | ||
117 | hello_pipe_stdin = GNUNET_DISK_pipe (GNUNET_YES, GNUNET_YES, GNUNET_NO); | 117 | hello_pipe_stdin = GNUNET_DISK_pipe (GNUNET_YES, GNUNET_YES, GNUNET_YES, GNUNET_NO); |
118 | hello_pipe_stdout = GNUNET_DISK_pipe (GNUNET_YES, GNUNET_NO, GNUNET_YES); | 118 | hello_pipe_stdout = GNUNET_DISK_pipe (GNUNET_YES, GNUNET_YES, GNUNET_NO, GNUNET_YES); |
119 | 119 | ||
120 | if ((hello_pipe_stdout == NULL) || (hello_pipe_stdin == NULL)) | 120 | if ((hello_pipe_stdout == NULL) || (hello_pipe_stdin == NULL)) |
121 | { | 121 | { |