diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2010-09-15 08:31:21 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2010-09-15 08:31:21 +0000 |
commit | 5c434a60afadd065ab25900dc11756067d58fc1d (patch) | |
tree | 3179852ae53180fc42d983b0292ed9fab2a53131 /src/util/test_scheduler.c | |
parent | d1e367b5bcff3b7c9db57fe7ce8f25ab45a6894b (diff) | |
download | gnunet-5c434a60afadd065ab25900dc11756067d58fc1d.tar.gz gnunet-5c434a60afadd065ab25900dc11756067d58fc1d.zip |
0001602: A patch to fix process spawning with redirected std streams
Diffstat (limited to 'src/util/test_scheduler.c')
-rw-r--r-- | src/util/test_scheduler.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/test_scheduler.c b/src/util/test_scheduler.c index 52e4b3684..0ac186588 100644 --- a/src/util/test_scheduler.c +++ b/src/util/test_scheduler.c | |||
@@ -114,7 +114,7 @@ task5 (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
114 | int *ok = cls; | 114 | int *ok = cls; |
115 | GNUNET_assert (5 == *ok); | 115 | GNUNET_assert (5 == *ok); |
116 | (*ok) = 6; | 116 | (*ok) = 6; |
117 | p = GNUNET_DISK_pipe (GNUNET_NO); | 117 | p = GNUNET_DISK_pipe (GNUNET_NO, GNUNET_NO, GNUNET_NO); |
118 | GNUNET_assert (NULL != p); | 118 | GNUNET_assert (NULL != p); |
119 | fds[0] = GNUNET_DISK_pipe_handle (p, GNUNET_DISK_PIPE_END_READ); | 119 | fds[0] = GNUNET_DISK_pipe_handle (p, GNUNET_DISK_PIPE_END_READ); |
120 | fds[1] = GNUNET_DISK_pipe_handle (p, GNUNET_DISK_PIPE_END_WRITE); | 120 | fds[1] = GNUNET_DISK_pipe_handle (p, GNUNET_DISK_PIPE_END_WRITE); |