1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-23 10:29:58 +01:00

EXTSEP_S instead of hardcoded dot

This commit is contained in:
Stefan Bellon 2002-05-13 23:07:22 +00:00
parent 435ecaa5b0
commit 7ea7c0bc16
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-05-14 Stefan Bellon <sbellon@sbellon.de>
* exec.c (make_tempdir): Make use of EXTSEP_S instead of hardcoded
dot as extension separator.
2002-05-13 David Shaw <dshaw@jabberwocky.com>
* photoid.c (show_photos): Use the long keyid as the filename for

View File

@ -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 */