0001602: A patch to fix process spawning with redirected std streams
authorMatthias Wachs <wachs@net.in.tum.de>
Wed, 15 Sep 2010 08:32:00 +0000 (08:32 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Wed, 15 Sep 2010 08:32:00 +0000 (08:32 +0000)
src/vpn/gnunet-daemon-vpn.c

index d0237268910b29df4af458bb9f984af1346fa6eb..bef0da583b738f5e5c56e517033268ea65e51dea 100644 (file)
@@ -71,8 +71,8 @@ static void cleanup(void* cls, const struct GNUNET_SCHEDULER_TaskContext* tskctx
 static void helper_read(void* cls, const struct GNUNET_SCHEDULER_TaskContext* tsdkctx);
 
 static void start_helper_and_schedule() {
-       mycls.helper_in = GNUNET_DISK_pipe(GNUNET_YES);
-       mycls.helper_out = GNUNET_DISK_pipe(GNUNET_YES);
+       mycls.helper_in = GNUNET_DISK_pipe (GNUNET_YES, GNUNET_YES, GNUNET_NO);;
+       mycls.helper_out = GNUNET_DISK_pipe (GNUNET_YES, GNUNET_NO, GNUNET_YES);
 
        if (mycls.helper_in == NULL || mycls.helper_out == NULL) return;