# HG changeset patch # User Matt Johnston # Date 1133332346 0 # Node ID ac890087b8c186c4c358c99ab915f91eba970e00 # Parent 89ace56293f6671242e44bfb5bede2393544ddbc * keyimport.c: fclose() the key file to make sure data gets written diff -r 89ace56293f6 -r ac890087b8c1 keyimport.c --- a/keyimport.c Tue Nov 08 11:35:52 2005 +0000 +++ b/keyimport.c Wed Nov 30 06:32:26 2005 +0000 @@ -173,6 +173,8 @@ buf_incrpos(buf, len); } while (len > 0 && buf->len != buf->pos); + fclose(fp); + if (buf->pos != buf->len) { ret = 0; } else {