aboutsummaryrefslogtreecommitdiffstats
path: root/common/exechelp-w32ce.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--common/exechelp-w32ce.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/common/exechelp-w32ce.c b/common/exechelp-w32ce.c
index 809641c3e..d206052b5 100644
--- a/common/exechelp-w32ce.c
+++ b/common/exechelp-w32ce.c
@@ -501,6 +501,11 @@ gnupg_spawn_process (const char *pgmname, const char *argv[],
*statusfile = NULL;
*pid = (pid_t)(-1);
+ /* A NULL INFILE or OUTFILE is only used by gpgtar thus we don't
+ need to implement this for CE. */
+ if (!infile || !outfile)
+ return gpg_error (GPG_ERR_NOT_IMPLEMENTED);
+
es_fflush (infile);
es_rewind (infile);