1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-11-05 20:48:52 +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,8 +447,13 @@ int exec_finish(struct exec_info *info)
} }
#endif #endif
if(info->fromchild) if(info->fromchild) {
iobuf_close(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) if(info->tochild)
fclose(info->tochild); fclose(info->tochild);