mirror of
git://git.gnupg.org/gnupg.git
synced 2025-04-17 15:44:34 +02:00
* import.c (import_keys): Invalidate the cache so that the file
descriptor gets closed. Fixes bug reported by Juan F. Codagnone.
This commit is contained in:
parent
75b4e369eb
commit
16d1456ac3
@ -1,3 +1,8 @@
|
|||||||
|
2003-06-08 Werner Koch <wk@gnupg.org>
|
||||||
|
|
||||||
|
* import.c (import_keys): Invalidate the cache so that the file
|
||||||
|
descriptor gets closed. Fixes bug reported by Juan F. Codagnone.
|
||||||
|
|
||||||
2003-06-07 David Shaw <dshaw@jabberwocky.com>
|
2003-06-07 David Shaw <dshaw@jabberwocky.com>
|
||||||
|
|
||||||
* keyedit.c (sign_uids): Do not sign expired uids without --expert
|
* keyedit.c (sign_uids): Do not sign expired uids without --expert
|
||||||
|
@ -163,6 +163,8 @@ import_keys( char **fnames, int nnames, int fast,
|
|||||||
else {
|
else {
|
||||||
int rc = import( inp, fast, fname, stats, options );
|
int rc = import( inp, fast, fname, stats, options );
|
||||||
iobuf_close(inp);
|
iobuf_close(inp);
|
||||||
|
/* must invalidate that ugly cache to actually close it */
|
||||||
|
iobuf_ioctl (NULL, 2, 0, (char*)fname);
|
||||||
if( rc )
|
if( rc )
|
||||||
log_error("import from `%s' failed: %s\n", fname,
|
log_error("import from `%s' failed: %s\n", fname,
|
||||||
g10_errstr(rc) );
|
g10_errstr(rc) );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user