From 15330f36a72a98db06e7e3e8ea2204645a5c470b Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 20 Aug 2010 12:18:38 +0000 Subject: Reworked the posix and w32 exechelpers. --- common/exechelp-w32ce.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'common/exechelp-w32ce.c') diff --git a/common/exechelp-w32ce.c b/common/exechelp-w32ce.c index 5a84c9f1d..f49a442d9 100644 --- a/common/exechelp-w32ce.c +++ b/common/exechelp-w32ce.c @@ -83,7 +83,7 @@ struct feeder_thread_parms }; -/* The thread started by start_feeded. */ +/* The thread started by start_feede3. */ static void * feeder_thread (void *arg) { @@ -485,10 +485,14 @@ create_process (const char *pgmname, const char *cmdline, /* Fork and exec the PGMNAME, see exechelp.h for details. */ gpg_error_t gnupg_spawn_process (const char *pgmname, const char *argv[], - estream_t infile, estream_t outfile, + gpg_err_source_t errsource, void (*preexec)(void), unsigned int flags, - estream_t *statusfile, pid_t *pid) + estream_t infp, + estream_t *r_outfp, + estream_t *r_errfp, + pid_t *pid) { +#if 0 gpg_error_t err; PROCESS_INFORMATION pi = {NULL }; char *cmdline; @@ -598,7 +602,9 @@ gnupg_spawn_process (const char *pgmname, const char *argv[], *pid = handle_to_pid (pi.hProcess); return 0; - +#else + return gpg_error (GPG_ERR_NOT_IMPLEMENTED); +#endif } -- cgit v1.2.3