1
0
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:
Stefan Bellon 2002-01-02 17:50:37 +00:00
parent f50416246c
commit e9fad52a8d

View File

@ -447,12 +447,17 @@ 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);
if(info->madedir && !info->keep_temp_files)
{
if(info->tempfile_in)