>From 9dced74b24ea0385fb84d84ef2814abaa56bf45a Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Wed, 25 Nov 2009 16:33:17 +0000 Subject: [PATCH 2/3] LOCAL: DISABLE COMMAND --- daemon/guestfsd.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/daemon/guestfsd.c b/daemon/guestfsd.c index 9691053..3af0baa 100644 --- a/daemon/guestfsd.c +++ b/daemon/guestfsd.c @@ -677,6 +677,7 @@ int commandrvf (char **stdoutput, char **stderror, int flags, char const* const *argv) { +#ifndef WIN32 int so_size = 0, se_size = 0; int so_fd[2], se_fd[2]; pid_t pid; @@ -838,6 +839,10 @@ commandrvf (char **stdoutput, char **stderror, int flags, return WEXITSTATUS (r); } else return -1; +#else + fprintf (stderr, "commandrvf: We would execute %s here, but this isn't yet implemented on Win32\n", argv[0]); + return -1; +#endif } /* Split an output string into a NULL-terminated list of lines. -- 1.6.5.2