aboutsummaryrefslogtreecommitdiffstats
path: root/common/exechelp-w32ce.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2010-08-20 12:18:38 +0000
committerWerner Koch <[email protected]>2010-08-20 12:18:38 +0000
commit15330f36a72a98db06e7e3e8ea2204645a5c470b (patch)
tree53a98514afe9a0f654fffdc0d2cf966ced285d06 /common/exechelp-w32ce.c
parentPrepare for gpg-error change (diff)
downloadgnupg-15330f36a72a98db06e7e3e8ea2204645a5c470b.tar.gz
gnupg-15330f36a72a98db06e7e3e8ea2204645a5c470b.zip
Reworked the posix and w32 exechelpers.
Diffstat (limited to '')
-rw-r--r--common/exechelp-w32ce.c14
1 files changed, 10 insertions, 4 deletions
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
}