diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2010-09-15 08:32:00 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2010-09-15 08:32:00 +0000 |
commit | 8b9dfe56e2e6acc113ee6865cb583402f588e57e (patch) | |
tree | beac32c57aac17cac1fe9af20bcf0ffeea4aa45b /src | |
parent | 5c434a60afadd065ab25900dc11756067d58fc1d (diff) | |
download | gnunet-8b9dfe56e2e6acc113ee6865cb583402f588e57e.tar.gz gnunet-8b9dfe56e2e6acc113ee6865cb583402f588e57e.zip |
0001602: A patch to fix process spawning with redirected std streams
Diffstat (limited to 'src')
-rw-r--r-- | src/vpn/gnunet-daemon-vpn.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vpn/gnunet-daemon-vpn.c b/src/vpn/gnunet-daemon-vpn.c index d02372689..bef0da583 100644 --- a/src/vpn/gnunet-daemon-vpn.c +++ b/src/vpn/gnunet-daemon-vpn.c | |||
@@ -71,8 +71,8 @@ static void cleanup(void* cls, const struct GNUNET_SCHEDULER_TaskContext* tskctx | |||
71 | static void helper_read(void* cls, const struct GNUNET_SCHEDULER_TaskContext* tsdkctx); | 71 | static void helper_read(void* cls, const struct GNUNET_SCHEDULER_TaskContext* tsdkctx); |
72 | 72 | ||
73 | static void start_helper_and_schedule() { | 73 | static void start_helper_and_schedule() { |
74 | mycls.helper_in = GNUNET_DISK_pipe(GNUNET_YES); | 74 | mycls.helper_in = GNUNET_DISK_pipe (GNUNET_YES, GNUNET_YES, GNUNET_NO);; |
75 | mycls.helper_out = GNUNET_DISK_pipe(GNUNET_YES); | 75 | mycls.helper_out = GNUNET_DISK_pipe (GNUNET_YES, GNUNET_NO, GNUNET_YES); |
76 | 76 | ||
77 | if (mycls.helper_in == NULL || mycls.helper_out == NULL) return; | 77 | if (mycls.helper_in == NULL || mycls.helper_out == NULL) return; |
78 | 78 | ||