aboutsummaryrefslogtreecommitdiffstats
path: root/g10/exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/exec.c')
-rw-r--r--g10/exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/exec.c b/g10/exec.c
index 520aef908..144a255d8 100644
--- a/g10/exec.c
+++ b/g10/exec.c
@@ -64,7 +64,7 @@ static int make_tempdir(struct exec_info *info)
char *tmp=opt.temp_dir,*name=info->name;
if(!name)
- name=info->binary?"tempfile.bin":"tempfile.txt";
+ name=info->binary?"tempfile" EXTSEP_S "bin":"tempfile" EXTSEP_S "txt";
/* Make up the temp dir and files in case we need them */