diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2010-09-15 11:12:59 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2010-09-15 11:12:59 +0000 |
commit | c8910059aebeb20e7359b2d780be751323a80e74 (patch) | |
tree | a570d9ab7a8cb80e7f92bb11bfc4d3e70ebcc498 /src/util/test_os_start_process.c | |
parent | f4666e673e8370225069aa8214e23a7935c00dd2 (diff) | |
download | gnunet-c8910059aebeb20e7359b2d780be751323a80e74.tar.gz gnunet-c8910059aebeb20e7359b2d780be751323a80e74.zip |
Diffstat (limited to 'src/util/test_os_start_process.c')
-rw-r--r-- | src/util/test_os_start_process.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/util/test_os_start_process.c b/src/util/test_os_start_process.c index 97c5e99c0..0b8860c7d 100644 --- a/src/util/test_os_start_process.c +++ b/src/util/test_os_start_process.c | |||
@@ -105,11 +105,8 @@ task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
105 | char *fn; | 105 | char *fn; |
106 | const struct GNUNET_DISK_FileHandle *stdout_read_handle; | 106 | const struct GNUNET_DISK_FileHandle *stdout_read_handle; |
107 | const struct GNUNET_DISK_FileHandle *wh; | 107 | const struct GNUNET_DISK_FileHandle *wh; |
108 | #ifndef WINDOWS | 108 | |
109 | GNUNET_asprintf(&fn, "cat"); | 109 | GNUNET_asprintf(&fn, "cat"); |
110 | #else | ||
111 | GNUNET_asprintf(&fn, "./.libs/test_os_start_process_cat.exe"); | ||
112 | #endif | ||
113 | 110 | ||
114 | hello_pipe_stdin = GNUNET_DISK_pipe (GNUNET_YES, GNUNET_YES, GNUNET_NO); | 111 | hello_pipe_stdin = GNUNET_DISK_pipe (GNUNET_YES, GNUNET_YES, GNUNET_NO); |
115 | hello_pipe_stdout = GNUNET_DISK_pipe (GNUNET_YES, GNUNET_NO, GNUNET_YES); | 112 | hello_pipe_stdout = GNUNET_DISK_pipe (GNUNET_YES, GNUNET_NO, GNUNET_YES); |