aboutsummaryrefslogtreecommitdiffstats
path: root/g10/openfile.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--g10/openfile.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/g10/openfile.c b/g10/openfile.c
index 121b46dd0..be6585fbd 100644
--- a/g10/openfile.c
+++ b/g10/openfile.c
@@ -267,6 +267,9 @@ open_outfile( const char *iname, int mode, IOBUF *a )
m_free(buf);
}
+ if (*a)
+ iobuf_ioctl (*a,3,1,NULL); /* disable fd caching */
+
return rc;
}