aboutsummaryrefslogtreecommitdiffstats
path: root/g10/exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/exec.c')
-rw-r--r--g10/exec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/g10/exec.c b/g10/exec.c
index 3be81e947..8bd549dcf 100644
--- a/g10/exec.c
+++ b/g10/exec.c
@@ -60,7 +60,8 @@ static int make_tempdir(struct exec_info *info)
if(tmp==NULL)
{
#ifdef __riscos__
- tmp="<Wimp$ScrapDir>";
+ tmp="<Wimp$ScrapDir>.GnuPG";
+ mkdir(tmp,0700); /* Error checks occur later on */
#elif defined (__MINGW32__) || defined (__CYGWIN32__)
tmp=m_alloc(256);
if(GetTempPath(256,tmp)==0)