From c8910059aebeb20e7359b2d780be751323a80e74 Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Wed, 15 Sep 2010 11:12:59 +0000 Subject: [PATCH] --- src/util/Makefile.am | 2 -- src/util/test_os_start_process.c | 5 +---- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/util/Makefile.am b/src/util/Makefile.am index 38d60167b..6d88537e5 100644 --- a/src/util/Makefile.am +++ b/src/util/Makefile.am @@ -14,8 +14,6 @@ libgnunetutilwin_la_LIBADD = \ -lshell32 -liconv -lstdc++ \ -lcomdlg32 -lgdi32 WINLIB = libgnunetutilwin.la -noinst_PROGRAMS = test_os_start_process_cat - test_os_start_process_cat_SOURCES = test_os_start_process_cat.c endif if USE_COVERAGE 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) char *fn; const struct GNUNET_DISK_FileHandle *stdout_read_handle; const struct GNUNET_DISK_FileHandle *wh; -#ifndef WINDOWS + GNUNET_asprintf(&fn, "cat"); -#else - GNUNET_asprintf(&fn, "./.libs/test_os_start_process_cat.exe"); -#endif hello_pipe_stdin = GNUNET_DISK_pipe (GNUNET_YES, GNUNET_YES, GNUNET_NO); hello_pipe_stdout = GNUNET_DISK_pipe (GNUNET_YES, GNUNET_NO, GNUNET_YES); -- 2.25.1