2.0.5 too many open files fix

Werner Koch wk at gnupg.org
Mon Jul 16 11:56:49 CEST 2007


Hi,

Just this morning I figured out that gpg-agent does not anymore close
all files.  This is in particular annoying if you use ssh along with the
agent.  The patch is simple:


	* estream.c (es_func_file_create): Clear NO_CLOSE flag.

--- common/estream.c    (revision 4541)
+++ common/estream.c    (working copy)
@@ -861,6 +861,7 @@
 #endif
 
   file_cookie->fd = fd;
+  file_cookie->no_close = 0;
   *cookie = file_cookie;
   *filedes = fd;



The fix is already in the SVN.


Shalom-Salam,

   Werner

 





More information about the Gnupg-devel mailing list