2010-06-10 Marcus Brinkmann <marcus@g10code.de>
+ * gpgme-tool.c (gpgme_server): Use special hack for Windows CE to
+ get at stdin and stdout.
+
* engine-gpgsm.c (gpgsm_new): Translate returned achild_fds back
to child_fds.
/* We use a pipe based server so that we can work from scripts.
assuan_init_pipe_server will automagically detect when we are
called with a socketpair and ignore FIELDES in this case. */
+#ifdef HAVE_W32CE_SYSTEM
+ filedes[0] = ASSUAN_STDIN;
+ filedes[1] = ASSUAN_STDOUT;
+#else
filedes[0] = assuan_fdopen (0);
filedes[1] = assuan_fdopen (1);
+#endif
err = assuan_new (&server.assuan_ctx);
if (err)
log_error (1, err, "can't create assuan context");