diff options
author | Stefan Bellon <[email protected]> | 2002-05-13 23:07:22 +0000 |
---|---|---|
committer | Stefan Bellon <[email protected]> | 2002-05-13 23:07:22 +0000 |
commit | 7ea7c0bc16392fa1c2d623970ce9edec06c9bde9 (patch) | |
tree | 7056f5f18ebc19fc752ac609bb87370cbfd8ce49 | |
parent | * photoid.c (show_photos): Use the long keyid as the filename for the (diff) | |
download | gnupg-7ea7c0bc16392fa1c2d623970ce9edec06c9bde9.tar.gz gnupg-7ea7c0bc16392fa1c2d623970ce9edec06c9bde9.zip |
EXTSEP_S instead of hardcoded dot
-rw-r--r-- | g10/ChangeLog | 5 | ||||
-rw-r--r-- | g10/exec.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/g10/ChangeLog b/g10/ChangeLog index b5ac0b6e4..a99febc24 100644 --- a/g10/ChangeLog +++ b/g10/ChangeLog @@ -1,3 +1,8 @@ +2002-05-14 Stefan Bellon <[email protected]> + + * exec.c (make_tempdir): Make use of EXTSEP_S instead of hardcoded + dot as extension separator. + 2002-05-13 David Shaw <[email protected]> * photoid.c (show_photos): Use the long keyid as the filename for 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 */ |