diff options
author | Werner Koch <[email protected]> | 2006-07-31 10:16:33 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2006-07-31 10:16:33 +0000 |
commit | 064a4a624016ed72fe0aefb73abe95a23bb74dc1 (patch) | |
tree | 5bcd3e8ad5057bbf9a73586b430a6b6e10ff56b3 /g10/encode.c | |
parent | 2006-07-29 Marcus Brinkmann <[email protected]> (diff) | |
download | gnupg-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 '')
-rw-r--r-- | g10/encode.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/g10/encode.c b/g10/encode.c index 14ecbb54d..251ea3e2c 100644 --- a/g10/encode.c +++ b/g10/encode.c @@ -858,6 +858,7 @@ encode_crypt_files(int nfiles, char **files, STRLIST remusr) log_error("encryption of `%s' failed: %s\n", print_fname_stdin(line), g10_errstr(rc) ); write_status( STATUS_FILE_DONE ); + iobuf_ioctl( NULL, 2, 0, NULL); /* Invalidate entire cache. */ } } else @@ -869,6 +870,7 @@ encode_crypt_files(int nfiles, char **files, STRLIST remusr) log_error("encryption of `%s' failed: %s\n", print_fname_stdin(*files), g10_errstr(rc) ); write_status( STATUS_FILE_DONE ); + iobuf_ioctl( NULL, 2, 0, NULL); /* Invalidate entire cache. */ files++; } } |