mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
Minor tweaks: remove --no-default-check-level, don't cache child tempfiles
and simpler code in keyserver
This commit is contained in:
parent
c02977a2de
commit
90d15a9d6a
4 changed files with 19 additions and 10 deletions
10
g10/exec.c
10
g10/exec.c
|
@ -423,6 +423,9 @@ int exec_read(struct exec_info *info)
|
|||
ret=G10ERR_READ_FILE;
|
||||
goto fail;
|
||||
}
|
||||
|
||||
/* Do not cache this iobuf on close */
|
||||
iobuf_ioctl(info->fromchild,3,1,NULL);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -447,13 +450,8 @@ int exec_finish(struct exec_info *info)
|
|||
}
|
||||
#endif
|
||||
|
||||
if(info->fromchild) {
|
||||
if(info->fromchild)
|
||||
iobuf_close(info->fromchild);
|
||||
#ifdef __riscos__
|
||||
/* invalidate close cache, as otherwise unlink() below won't work */
|
||||
iobuf_ioctl(NULL, 2, 0, info->tempfile_out);
|
||||
#endif
|
||||
}
|
||||
|
||||
if(info->tochild)
|
||||
fclose(info->tochild);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue