From 1c24b139e726c316c76b16ed47f6326ff0e690ab Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Sun, 8 Jun 2003 21:35:25 +0000 Subject: [PATCH] * import.c (import_keys_internal): Invalidate the cache so that the file descriptor gets closed. Fixes bug reported by Juan F. Codagnone. --- g10/import.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/g10/import.c b/g10/import.c index c3cf02624..48ef86834 100644 --- a/g10/import.c +++ b/g10/import.c @@ -168,7 +168,7 @@ import_keys_internal( IOBUF inp, char **fnames, int nnames, else { rc = import( inp2, fname, stats, options ); iobuf_close(inp2); - /* must invalidate that ugly cache to actually close it */ + /* Must invalidate that ugly cache to actually close it. */ iobuf_ioctl (NULL, 2, 0, (char*)fname); if( rc ) log_error("import from `%s' failed: %s\n", fname,