aboutsummaryrefslogtreecommitdiffstats
path: root/g10/verify.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2006-07-31 10:16:33 +0000
committerWerner Koch <[email protected]>2006-07-31 10:16:33 +0000
commit064a4a624016ed72fe0aefb73abe95a23bb74dc1 (patch)
tree5bcd3e8ad5057bbf9a73586b430a6b6e10ff56b3 /g10/verify.c
parent2006-07-29 Marcus Brinkmann <[email protected]> (diff)
downloadgnupg-064a4a624016ed72fe0aefb73abe95a23bb74dc1.tar.gz
gnupg-064a4a624016ed72fe0aefb73abe95a23bb74dc1.zip
Fixed bug 479. Not a real good fix but a reliable one which limits possible
breakage of other partys of the code.
Diffstat (limited to 'g10/verify.c')
-rw-r--r--g10/verify.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/g10/verify.c b/g10/verify.c
index 941481aac..082db89de 100644
--- a/g10/verify.c
+++ b/g10/verify.c
@@ -197,12 +197,15 @@ verify_files( int nfiles, char **files )
* spaces, so that we can process nearly all filenames */
line[strlen(line)-1] = 0;
verify_one_file( line );
+ iobuf_ioctl( NULL, 2, 0, NULL); /* Invalidate entire cache. */
}
}
else { /* take filenames from the array */
- for(i=0; i < nfiles; i++ )
+ for(i=0; i < nfiles; i++ ) {
verify_one_file( files[i] );
+ iobuf_ioctl( NULL, 2, 0, NULL); /* Invalidate entire cache. */
+ }
}
return 0;
}