mirror of
git://git.gnupg.org/gnupg.git
synced 2024-11-04 20:38:50 +01:00
invalidate close cache
This commit is contained in:
parent
f50416246c
commit
e9fad52a8d
@ -447,8 +447,13 @@ 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…
Reference in New Issue
Block a user