aboutsummaryrefslogtreecommitdiffstats
path: root/g10/verify.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--g10/verify.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/g10/verify.c b/g10/verify.c
index d5ac9f592..a08a71291 100644
--- a/g10/verify.c
+++ b/g10/verify.c
@@ -144,6 +144,8 @@ verify_one_file( const char *name )
print_file_status( STATUS_FILE_START, name, 1 );
fp = iobuf_open(name);
+ if (fp)
+ iobuf_ioctl (fp,3,1,NULL); /* disable fd caching */
if (fp && is_secured_file (iobuf_get_fd (fp)))
{
iobuf_close (fp);